Remove documents. Set the multi
option to false remove only the first document that match the query criteria.
-
query
(Object|ObjectId|String) -
[
options
] (Object) -
[
callback
] (function)
A promise.
users.remove({ woot: 'foo' })
Remove documents. Set the multi
option to false remove only the first document that match the query criteria.
query
(Object|ObjectId|String)
[options
] (Object)
[callback
] (function)
A promise.
users.remove({ woot: 'foo' })