mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 19:59:54 -05:00
### Does this PR have any customer impact? ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) ### Are you introducing any new config? If yes, do you have tests with and without them being set? ### ChangeLog (Refer [Template](../oss/CHANGELOG.md)) ### Description Removing unnecessary in/out from bson_update_document which were preset eariler due to older change_stream implementation. 1. For now moving udf to helio_api_internal and same time removing useless in/out params TODO: In next release will modify this for oss with updating test and minimal c changes will update --latest files also. ---- #### AI description (iteration 1) #### PR Classification This pull request is a code cleanup and update to simplify the integration of the `bson_update_document` function into OSS. #### PR Summary The PR introduces a new C-based SQL function for `bson_update_document` with streamlined parameters, updates the main SQL script to include this new file, and refreshes the API schema output to reflect the change. - `pgmongo/sql/udfs/crud/bson_update_document--1.105-0.sql`: Adds the new function definition with cleaned-up parameter handling. - `pgmongo/sql/pgmongo--1.104-0--1.105-0.sql`: Updates the script to include the newly added UDF file. - `pgmongo/src/test/regress/expected/public_api_schema.out`: Modifies the schema output to include the new function entry. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
5 lines
181 B
SQL
5 lines
181 B
SQL
|
|
#include "udfs/query/bson_dollar_comparison--0.105-0.sql"
|
|
#include "udfs/aggregation/bson_bucket_auto--0.105-0.sql"
|
|
#include "udfs/commands_crud/bson_update_document--0.105-0.sql"
|