Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-php-library
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
mongo-php-library
Commits
0b511a05
Commit
0b511a05
authored
Feb 06, 2018
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs for ListCollections filter option
parent
e7790d8e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
apiargs-MongoDBDatabase-method-listCollections-option.yaml
...piargs-MongoDBDatabase-method-listCollections-option.yaml
+6
-1
ListCollections.php
src/Operation/ListCollections.php
+4
-0
No files found.
docs/includes/apiargs-MongoDBDatabase-method-listCollections-option.yaml
View file @
0b511a05
...
@@ -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
...
...
src/Operation/ListCollections.php
View file @
0b511a05
...
@@ -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.
*
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment