-
Notifications
You must be signed in to change notification settings - Fork 265
PHPLIB-1627: BulkWriteCommand API #1630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
83ef432
BulkWriteCommandBuilder
jmikola e9afb05
Test against mongodb/mongo-php-driver#1790
jmikola 31ca089
Psalm stubs for PHPC BulkWriteCommand classes
jmikola 6f95040
BulkWriteCommandBuilder::withCollection returns a new instance
jmikola a4a5045
Sanity check Manager association in BulkWriteCommandBuilder
jmikola 56d76c7
Client::bulkWrite() and ClientBulkWrite operation
jmikola 3e97082
Spec tests for Client::bulkWrite()
jmikola 59417c2
Revise error messages for readConcern and writeConcern in transactions
jmikola 8aa313e
BulkWriteCommandBuilder is final
jmikola 3123d59
Re-order BulkWriteCommandBuilder methods to satisfy PedantryTest
jmikola cf40774
Ignore order of non-public constructors in PedantryTest
jmikola 54da642
Fix preparation of unacknowledged BulkWriteCommandResults
jmikola 41ee8b2
Skip CSFLE namedKMS tests that require schema 1.18
jmikola b1b6368
Test Collection::getBuilderEncoder() and getCodec()
jmikola b86eceb
Default BulkWriteCommandBuilder options to empty arrays
jmikola 3163a7c
CRUD prose tests 3 and 4
jmikola 36e08f1
Update Psalm stubs for PHPC BulkWriteCommand API
jmikola 21af350
CRUD prose tests 5-9
jmikola 0686263
Rename BulkWriteCommandBuilder to ClientBulkWrite
jmikola 408ad40
Server::executeBulkWriteCommand() always returns a BulkWriteCommandRe…
jmikola bc45571
Use dropCollection() helper to ensure collections are cleaned up
jmikola 7b150c8
Prose test 11
jmikola 49a97e9
Prose test 12
jmikola e6a37b2
Prose test 13
jmikola e63f54b
Prose test 15
jmikola 683da03
Validate assigned $options property instead of ctor arg
jmikola 0d13135
Fix Psalm errors and update baseline
jmikola b3cd950
phpcs fixes
jmikola b448941
Test against v2.x
GromNaN ff9e162
Fix CS
GromNaN 1befabe
Remove readonly qualifier on the class, PHP 8.2 would be required
GromNaN 66ed280
Add NoDiscard attribute to 'withCollection' methods
GromNaN 97a5121
Switch all EXTENSION_BRANCH versions
GromNaN 3029042
Always build against v2.x
alcaeus f207cdb
Append CRYPT_SHARED_LIB_PATH to autoEncryptionOpts in tests
alcaeus bb34d7f
PHPLIB-1677: Assert unset BulkWriteException.partialResult in CRUD pr…
alcaeus 72f5b6e
Use explicit null check
alcaeus 2d97846
Require ext-mongodb 2.1
alcaeus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,9 @@ on: | |
|
||
env: | ||
PHP_VERSION: "8.2" | ||
DRIVER_VERSION: "stable" | ||
# TODO: change to "stable" once 2.0.0 is released | ||
# DRIVER_VERSION: "stable" | ||
DRIVER_VERSION: "mongodb/[email protected]" | ||
|
||
jobs: | ||
phpcs: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,9 @@ on: | |
|
||
env: | ||
PHP_VERSION: "8.2" | ||
DRIVER_VERSION: "stable" | ||
# TODO: change to "stable" once 2.0.0 is released | ||
# DRIVER_VERSION: "stable" | ||
DRIVER_VERSION: "mongodb/[email protected]" | ||
|
||
jobs: | ||
diff: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,9 @@ on: | |
|
||
env: | ||
PHP_VERSION: "8.2" | ||
DRIVER_VERSION: "stable" | ||
# TODO: change to "stable" once 2.0.0 is released | ||
# DRIVER_VERSION: "stable" | ||
DRIVER_VERSION: "mongodb/[email protected]" | ||
|
||
jobs: | ||
psalm: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,9 @@ on: | |
- "feature/*" | ||
|
||
env: | ||
DRIVER_VERSION: "stable" | ||
# TODO: change to "stable" once 2.0.0 is released | ||
# DRIVER_VERSION: "stable" | ||
DRIVER_VERSION: "mongodb/[email protected]" | ||
|
||
jobs: | ||
phpunit: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.