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) Feature ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) Yes ### Are you introducing any new config? If yes, do you have tests with and without them being set? Yes ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description Add support for `let` in `find` and `aggregate` - For find ensure that let can be supported both in projection and query. - For aggregate, so far this is only supported in `$match`. In subsequent PRs other stages will be reviewed and modified. Note that this is a precursor to $lookup with let since Lookup's inner pipeline can reference any of those stages that can use `let` Since this is a partial feature this is guarded with a feature flag.