Commit 0b511a05 authored by Jeremy Mikola's avatar Jeremy Mikola

Update docs for ListCollections filter option

parent e7790d8e
...@@ -4,7 +4,12 @@ type: array|object ...@@ -4,7 +4,12 @@ type: array|object
description: | description: |
A query expression to filter the list of collections. A query expression to filter the list of collections.
You can specify a query expression on the collection ``name`` and ``options``. You can specify a query expression for collection fields (e.g. ``name``,
``options``).
For server versions < 3.0, the filter can only be used to match the ``name``
field with a string value. More complex filters will result in an exception at
execution time if used.
interface: phpmethod interface: phpmethod
operation: ~ operation: ~
optional: true optional: true
......
...@@ -49,6 +49,10 @@ class ListCollections implements Executable ...@@ -49,6 +49,10 @@ class ListCollections implements Executable
* *
* * filter (document): Query by which to filter collections. * * filter (document): Query by which to filter collections.
* *
* For server versions < 3.0, the filter can only be used to match the
* "name" field with a string value. More complex filters will result in
* an exception at execution time if used.
*
* * maxTimeMS (integer): The maximum amount of time to allow the query to * * maxTimeMS (integer): The maximum amount of time to allow the query to
* run. * run.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment