mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -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? ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description Support for Multiple variable in Let Lookup ---- #### AI description (iteration 1) #### PR Classification New feature: Support for multiple variables in `$lookup` stage of aggregation pipelines. #### PR Summary This pull request adds support for using multiple variables in the `$lookup` stage of MongoDB aggregation pipelines, enhancing query capabilities. - `postgresjs/merge_stage_cx_scenario.js`: Added a new pipeline to test multiple variable support in `$lookup`. - `bson_aggregation_pipeline_tests_let.out` and `bson_aggregation_pipeline_tests_let.sql`: Added test cases for multiple variable support in `$lookup`. - `bson_aggregation_nested_pipeline.c`: Modified to handle multiple variables in `$lookup` and updated related functions. - `LookupTests.cs`: Updated integration tests to validate the new feature and added setup/cleanup configurations. - `utils.sh`: Enabled configuration settings for `let` support in aggregation stages.