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
7 years ago
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs for ListCollections filter option
parent
e7790d8e
master
phplib-520
test-double-free
v1.3
v1.4
v1.5
v1.6
v1.7
1.7.0-beta1
1.6.0
1.5.2
1.5.1
1.5.0
1.4.3
1.4.2
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
No related merge requests found
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
description
:
|
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
operation
:
~
optional
:
true
...
...
This diff is collapsed.
Click to expand it.
src/Operation/ListCollections.php
View file @
0b511a05
...
...
@@ -49,6 +49,10 @@ class ListCollections implements Executable
*
* * 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
* run.
*
...
...
This diff is collapsed.
Click to expand it.
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