-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support more query operators in native query pipeline type inference (#…
…121) This is work an an in-progress feature that is gated behind a feature flag, `native-query-subcommand` When generating configurations for native queries it is necessary to analyze operators in `$match` stages in aggregation pipelines to infer types for any parameters that appear in operator arguments. This PR adds the logic to process these operators: - `$and` | `$or` | `$nor` - `$not` - `$elemMatch` - `$eq` | `$ne` | `$gt` | `$lt` | `$gte` | `$lte` - `$in` | `$nin` - `$exists` - `$type` - `$mod` - `$regex` - `$all` - `$size` The full set of available operators is given here: https://www.mongodb.com/docs/manual/reference/operator/query/
- Loading branch information
Showing
4 changed files
with
253 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters