-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
Labels:
-
Environment:mongodb 4.0.4
-
Query 2020-11-30, Query 2020-12-14
Using { $set:{ b:1, a:1 } } for updating results in { a:1, b:1 }.
If I use older version like mongodb 3.4.0, the result will be { b:1, a:1 }.