Skip to content

Commit ea060c4

Browse files
committed
Update docs for ListCollections filter option
1 parent f26e665 commit ea060c4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ type: array|object
44
description: |
55
A query expression to filter the list of collections.
66
7-
You can specify a query expression on the collection ``name`` and ``options``.
7+
You can specify a query expression for collection fields (e.g. ``name``,
8+
``options``).
9+
10+
For server versions < 3.0, the filter can only be used to match the ``name``
11+
field with a string value. More complex filters will result in an exception at
12+
execution time if used.
813
interface: phpmethod
914
operation: ~
1015
optional: true

0 commit comments

Comments
 (0)