Skip to content

CXX-3076 add support for sort option with replaceOne and updateOne #1321

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 9 commits into from
Jan 24, 2025

Conversation

eramongodb
Copy link
Contributor

Resolves CXX-3076.

All relevent unified spec test files are synced, but those which require CXX-2494 "Bulk Write API" are skipped (client-bulkWrite-*.json).

Created CXX-3208 to track the required update to the minimum C Driver version (1.30.0) once mongodb/mongo-c-driver@2c5c9d9 is released.

As done for the C Driver in mongodb/mongo-c-driver#1789, the sort option is added to API corresponding to the replaceOne and updateOne operations only. Other bulk write operations (e.g. updateMany) do not support the sort option.

@eramongodb eramongodb self-assigned this Jan 16, 2025
@eramongodb
Copy link
Contributor Author

Resolved merge conflict with dc7839a: mongodb/mongo-c-driver@f2c1bb7 is newer than mongodb/mongo-c-driver@2c5c9d9.

@eramongodb eramongodb merged commit b0686db into mongodb:master Jan 24, 2025
15 of 17 checks passed
@eramongodb eramongodb deleted the cxx-3076 branch January 24, 2025 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants