Skip to content

Commit 8be87b6

Browse files
committed
PHPLIB-843: Support clusteredIndex option for createCollection
Fixes preparation of database, collection, and index enumeration results. The new spec tests are the first to assert these results (including those for legacy test runners). Sync collection-management spec tests with mongodb/specifications@d145882, which also covers PHPLIB-856
1 parent dcb3190 commit 8be87b6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

source/includes/apiargs-MongoDBDatabase-method-createCollection-option.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,23 @@ interface: phpmethod
2727
operation: ~
2828
optional: true
2929
---
30+
arg_name: option
31+
name: clusteredIndex
32+
type: document
33+
description: |
34+
A clustered index specification. See
35+
:manual:`Clustered Collections </core/clustered-collections>` or the
36+
:manual:`create </reference/command/create>` command documentation for more
37+
information.
38+
39+
This option is available in MongoDB 5.3+ and will result in an exception at
40+
execution time if specified for an older server version.
41+
42+
.. versionadded:: 1.13
43+
interface: phpmethod
44+
operation: ~
45+
optional: true
46+
---
3047
source:
3148
file: apiargs-common-option.yaml
3249
ref: collation

0 commit comments

Comments
 (0)