mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? No ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Testing ### 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 ### ChangeLog (Refer [Template](../oss/CHANGELOG.md)) ### Description - Add insert command duplicate field backend test ---- #### AI description (iteration 1) #### PR Classification New feature and documentation. #### PR Summary This pull request adds tests for inserting documents with duplicate fields and documents the server behavior regarding such inserts. - Added tests in `commands_insert.out` and `commands_insert.sql` to verify the server does not deduplicate documents with duplicate fields. - Updated `insert.c` to document that the server does not attempt to deduplicate documents during insertion. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->