-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Internal Code
-
Server Development Platform
Example:
var res = db.runCommandWithMetadata({ insert: "foo", documents: [{_id: 1, state: 0}], writeConcern: {w: "majority", wtimeout: 60 * 1000} }, {"$replData": 1});
Using the empty-comment hack makes it reasonable:
var res = db.runCommandWithMetadata( // { insert: "foo", documents: [{_id: 1, state: 0}], writeConcern: {w: "majority", wtimeout: 60 * 1000} }, {"$replData": 1});