You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-15Lines changed: 0 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,6 @@ require('mongodb').connect(uri, function (err, db) {
52
52
-[find()](#find)
53
53
-[findOne()](#findone)
54
54
-[count()](#count)
55
-
-[remove()](#remove)
56
55
-[update()](#update)
57
56
-[the update document](#the-update-document)
58
57
-[options](#options)
@@ -193,17 +192,6 @@ mquery().count(match, function (err, number){
193
192
})
194
193
```
195
194
196
-
### remove()
197
-
198
-
Declares this query a _remove_ query. Optionally pass a match clause and / or callback. If a callback is passed the query is executed.
199
-
200
-
```js
201
-
mquery().remove()
202
-
mquery().remove(match)
203
-
mquery().remove(callback)
204
-
mquery().remove(match, function (err){})
205
-
```
206
-
207
195
### update()
208
196
209
197
Declares this query an _update_ query. Optionally pass an update document, match clause, options or callback. If a callback is passed, the query is executed. To force execution without passing a callback, run `update(true)`.
@@ -910,7 +898,6 @@ This option is only valid for operations that write to the database:
910
898
- `deleteMany()`
911
899
- `findOneAndDelete()`
912
900
- `findOneAndUpdate()`
913
-
- `remove()`
914
901
- `update()`
915
902
- `updateOne()`
916
903
- `updateMany()`
@@ -1103,7 +1090,6 @@ This option is only valid for operations that write to the database:
1103
1090
- `deleteMany()`
1104
1091
- `findOneAndDelete()`
1105
1092
- `findOneAndUpdate()`
1106
-
- `remove()`
1107
1093
- `update()`
1108
1094
- `updateOne()`
1109
1095
- `updateMany()`
@@ -1185,7 +1171,6 @@ This option is only valid for operations that write to the database:
* The operation is only executed when a callback is passed. To force execution without a callback (which would be an unsafe write), we must first call remove() and then execute it by using the `exec()` method.
2508
-
*
2509
-
* // not executed
2510
-
* var query = mquery(collection).remove({ name: 'Anne Murray' })
0 commit comments