mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 19:59:54 -05:00
### Does this PR have any customer impact? Yes ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Feature ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) No ### Are you introducing any new config? If yes, do you have tests with and without them being set? No ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description support sort option in command updateOne(mongo 8.0) ---- #### AI description (iteration 1) #### PR Classification New feature #### PR Summary This pull request adds support for sorting in the `updateOne` operation. - `update.c`: Added handling for the `sort` field in the `updateOne` parameters. - `commands_update.sql` and `commands_update.out`: Added tests to verify the new sorting functionality in `updateOne`.