-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
From shell:
var flags = 0; if ( options === undefined ) { // do nothing } else if ( typeof(options) == 'object' ) { if (options.ordered === undefined) { //do nothing, like above } else { flags = options.ordered ? 0 : 1; } if (options.writeConcern) wc = options.writeConcern; if (options.allowdotted) allowDottedFields = true; } else { flags = options; } // 1 = continueOnError, which is synonymous with unordered in the write commands/bulk-api var ordered = ((flags & 1) == 0);