File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -101,18 +101,18 @@ Indexes
101
101
Capped Collections
102
102
~~~~~~~~~~~~~~~~~~
103
103
104
- .. versionchanged :: 2.3
105
-
106
- .. limit:: Max Number of Documents in a Capped Collection
107
-
108
- If you set a maximum for the number of documents in a capped
109
- collection, the maximum must be less than 2^32. You *cannot* set a
110
- higher maximum. Alternatively, you can choose *not* to set a maximum,
111
- in which case the number of documents can exceed 2^32.
112
-
113
- You specify the maximum when creating a capped collection by setting
114
- the optional ``max`` parameter. For details, see
115
- :method:`db.createCollection()` or :dbcommand:`create` .
104
+ .. limit :: Maximum Number of Documents in a Capped Collection
105
+
106
+ You can specify a maximum number of documents when creating a capped
107
+ collection by setting the optional ``max`` parameter in the
108
+ :method:`db.createCollection()` method or :dbcommand:`create`
109
+ command.
110
+
111
+ If you specify a maximum number of documents when creating a capped
112
+ collection, this limit must be less than 2\ :sup:`32` documents. If
113
+ you do not specify a maximum number of documents when creating a
114
+ capped collection, there is no limit on the number of documents in a
115
+ capped collection .
116
116
117
117
Replica Sets
118
118
~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments