Commit f36676f
PHPLIB-1798 Extract MQL definition into a submodule for builder generator (#1851)
* PHPLIB-1798 Extract MQL definition into a submodule for builder generator
* Add $minVersion and fix bson_utcdatetime compatibility
* Add minimum version in description
* Add update operators
* Apply submodule changes on minVersion
* Add selection of operator type in the generate command (prompted by AI needs)
* Add tests on update operators
* It seems to work
* Stage types
* Fix phpcs errors
* Check out submodules in generator workflow
* Fix psalm errors and update baseline
* Introduce new UpdatePipeline class
* PHPLIB-1507: Support Update Operators in Builders
* Add support for new expressionMap type
* Fix wrong YAML tag for BSON long
* Update to latest version of builder module
* Apply code review feedback
* Update to latest definitions
* Fix combining multiple updates of the same type
---------
Co-authored-by: Andreas Braun <andreas.braun@mongodb.com>1 parent bce941a commit f36676f
502 files changed
Lines changed: 3326 additions & 15806 deletions
File tree
- .github/workflows
- generator
- config
- accumulator
- expression
- query
- search
- stage
- src
- Command
- Definition
- src/Builder
- Accumulator
- Encoder
- Expression
- Query
- Search
- Stage
- Type
- Update
- tests
- Builder
- Accumulator
- Expression
- Search
- Stage
- Update
- Collection
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments