-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Integration
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The serialization methods – serialize()/value()/operatorValue() – in UpdateNode construct and return single-element BSONObj. The common pattern is:
return BSON("" << opts.serializeLiteral(_val));
We may optimize this by avoiding the BSONObj wrapper.