Removing documents

Removing documents

  Documents are removed from the collection by simple remove command:
 query("key" === 1) and remove
  Additionally you can specify write concern for remove command by using `ensure`

  `query("key" === 1) and remove.ensure(WriteConcern.MAJORITY)`


  Lastly, if the remove command on non sharded collection has to be isolated (this mean that no other updated may interleave during its execution),
  just add isolated modifier to it
query("key" === 1) and remove.isolated(true)

Total for specification CollectionRemoveSpec
Finished in50 seconds, 465 ms
Results1 example, 0 failure, 0 error