Skip to content

Commit fb411dc

Browse files
committed
correct use of 'size' param
1 parent 282230b commit fb411dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/reference/method/db.createCollection.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ db.createCollection()
2020

2121
:param bytes size: If ``capped`` is ``true``, ``size`` specifies a
2222
maximum size in bytes for the capped collection.
23-
When ``capped`` is false, you may not use ``size``.
23+
When ``capped`` is false, you may use ``size`` to
24+
preallocate space.
2425

2526
:option autoIndexId: If ``capped`` is ``true`` you can specify
2627
``false`` to disable the automatic index

0 commit comments

Comments
 (0)