Essentially, when using $each with $push, the $each operator must come before any other operands such as $slice or $sort. This is breaking in many languages since dicts/objects do not maintain a consistent key ordering.
- is related to
-
SERVER-6399 Refactor update() code
- Closed
- related to
-
DOCS-2075 Order of operators no longer matters when using $each with $push
- Closed