Closed
Description
opened on May 22, 2023
After #2678.
What should be done?
Add operators support to $addFields
.
Where?
Supported stages support operators
$group
stage_id
expression supports operators
example:{_id : { $dateToString: { format: "%Y-%m-%d", date: "$date" } } }
from manual
$project
stage supports operators
example:{$project: {isbn: {prefix: { $substr: [ "$isbn", 0, 3 ] } } } }
from manual
- query projection supports operators
same example as$project
works on projection
Out of scope
$match
is handled by Support$expr
evaluation query operator #414$group
stage recursive operator is handled by Support recursive aggregation operators #2694
Definition of Done
- all stages updated;
- compatibility tests for every operator in every stage added;
- spot refactorings done;
- find issue number in the code, skipped tests with this issue number passes.
Metadata
Assignees
Type
Projects
Status
Done
Activity