@@ -278,10 +278,6 @@ Collection Methods
278
278
- Provides a wrapper for the database command :manual:`getShardVersion
279
279
</reference/command/getShardVersion/>`.
280
280
281
- * - :method:`db.collection.insert()`
282
-
283
- - Creates a new document in a collection.
284
-
285
281
* - :method:`db.collection.insertOne()`
286
282
287
283
- Inserts a new document in a collection.
@@ -302,10 +298,6 @@ Collection Methods
302
298
303
299
- Rebuilds all existing indexes on a collection.
304
300
305
- * - :method:`db.collection.remove()`
306
-
307
- - Deletes documents from a collection.
308
-
309
301
* - :method:`db.collection.renameCollection()`
310
302
311
303
- Changes the name of a collection.
@@ -314,11 +306,6 @@ Collection Methods
314
306
315
307
- Replaces a single document in a collection.
316
308
317
- * - :method:`db.collection.save()`
318
-
319
- - Provides a wrapper around :method:`~db.collection.insert()`
320
- and :method:`~db.collection.update()` to insert new documents.
321
-
322
309
* - :method:`db.collection.stats()`
323
310
324
311
- Reports on the state of a collection. Provides a wrapper around
@@ -341,10 +328,6 @@ Collection Methods
341
328
- Reports the total size of a collection, including the size of
342
329
all documents and all indexes on a collection.
343
330
344
- * - :method:`db.collection.update()`
345
-
346
- - Modifies a document in a collection.
347
-
348
331
* - :method:`db.collection.updateOne()`
349
332
350
333
- Modifies a single document in a collection.
0 commit comments