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
description: "Internal diagnostic method for shard cluster."
60
+
---
61
+
name: ":method:`db.collection.group()`"
62
+
file: /reference/method/db.collection.group
63
+
description: "Provides simple data aggregation function. Groups documents in a collection by a key, and processes the results. Use :method:`~db.collection.aggregate()` for more complex data aggregation."
64
+
---
65
+
name: ":method:`db.collection.insert()`"
66
+
file: /reference/method/db.collection.insert
67
+
description: "Creates a new document in a collection."
68
+
---
69
+
name: ":method:`db.collection.isCapped()`"
70
+
file: /reference/method/db.collection.isCapped
71
+
description: "Reports if a collection is a :term:`capped collection`."
72
+
---
73
+
name: ":method:`db.collection.mapReduce()`"
74
+
file: /reference/method/db.collection.mapReduce
75
+
description: "Performs map-reduce style data aggregation."
76
+
---
77
+
name: ":method:`db.collection.reIndex()`"
78
+
file: /reference/method/db.collection.reIndex
79
+
description: "Rebuilds all existing indexes on a collection."
80
+
---
81
+
name: ":method:`db.collection.remove()`"
82
+
file: /reference/method/db.collection.remove
83
+
description: "Deletes documents from a collection."
description: "Provides a wrapper around an :method:`~db.collection.insert()` and :method:`~db.collection.update()` to insert new documents."
92
+
---
93
+
name: ":method:`db.collection.stats()`"
94
+
file: /reference/method/db.collection.stats
95
+
description: "Reports on the state of a collection. Provides a wrapper around the :dbcommand:`collStats`."
96
+
---
97
+
name: ":method:`db.collection.storageSize()`"
98
+
file: /reference/method/db.collection.storageSize
99
+
description: "Reports the total size used by the collection. Provides a wrapper around the :data:`~collStats.storageSize` field of the :dbcommand:`collStats` output."
100
+
---
101
+
name: ":method:`db.collection.totalSize()`"
102
+
file: /reference/method/db.collection.toalSize
103
+
description: "Reports the total size of a collection, including the size of all documents and all indexes on a collection."
104
+
---
105
+
name: ":method:`db.collection.storageSize()`"
106
+
file: /reference/method/db.collection.storageSize
107
+
description: "Reports the total size used by the indexes on a collection. Provides a wrapper around the :data:`~collStats.totalIndexSize` field of the :dbcommand:`collStats` output."
108
+
---
109
+
name: ":method:`db.collection.update()`"
110
+
file: /reference/method/db.collection.update
111
+
description: "Modifies a document in a collection."
112
+
---
113
+
name: ":method:`db.collection.validate()`"
114
+
file: /reference/method/db.collection.validate
115
+
description: "Performs diagnostic operations on a collection."
0 commit comments