apiargs-MongoDBDatabase-method-listCollections-option.yaml 610 Bytes
Newer Older
1 2 3 4
arg_name: option
name: filter
type: array|object
description: |
5 6
  A query expression to filter the list of collections.

7 8 9 10 11 12
  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.
13
interface: phpmethod
14
operation: ~
15
optional: true
16 17 18
---
source:
  file: apiargs-common-option.yaml
19
  ref: maxTimeMS
20 21 22 23
---
source:
  file: apiargs-common-option.yaml
  ref: session
24 25
post: |
  .. versionadded:: 1.3
26
...