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
c1f6e23d
Commit
c1f6e23d
authored
Aug 07, 2017
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v1.1'
parents
08419523
c3e62136
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
55 additions
and
22 deletions
+55
-22
apiargs-MongoDBCollection-common-option.yaml
docs/includes/apiargs-MongoDBCollection-common-option.yaml
+3
-0
Aggregate.php
src/Operation/Aggregate.php
+2
-2
BulkWrite.php
src/Operation/BulkWrite.php
+5
-2
FindAndModify.php
src/Operation/FindAndModify.php
+5
-2
FindOneAndReplace.php
src/Operation/FindOneAndReplace.php
+5
-2
FindOneAndUpdate.php
src/Operation/FindOneAndUpdate.php
+5
-2
InsertMany.php
src/Operation/InsertMany.php
+5
-2
InsertOne.php
src/Operation/InsertOne.php
+5
-2
ReplaceOne.php
src/Operation/ReplaceOne.php
+5
-2
Update.php
src/Operation/Update.php
+5
-2
UpdateMany.php
src/Operation/UpdateMany.php
+5
-2
UpdateOne.php
src/Operation/UpdateOne.php
+5
-2
No files found.
docs/includes/apiargs-MongoDBCollection-common-option.yaml
View file @
c1f6e23d
...
@@ -4,6 +4,9 @@ type: boolean
...
@@ -4,6 +4,9 @@ type: boolean
description
:
|
description
:
|
If ``true``, allows the write operation to circumvent document level
If ``true``, allows the write operation to circumvent document level
validation. Defaults to ``false``.
validation. Defaults to ``false``.
This option is available in MongoDB 3.2+ and is ignored for older server
versions, which do not support document level validation.
interface
:
phpmethod
interface
:
phpmethod
operation
:
~
operation
:
~
optional
:
true
optional
:
true
...
...
src/Operation/Aggregate.php
View file @
c1f6e23d
...
@@ -62,8 +62,8 @@ class Aggregate implements Executable
...
@@ -62,8 +62,8 @@ class Aggregate implements Executable
*
*
* * batchSize (integer): The number of documents to return per batch.
* * batchSize (integer): The number of documents to return per batch.
*
*
* * bypassDocumentValidation (boolean): If true, allows the write to
opt
* * bypassDocumentValidation (boolean): If true, allows the write to
*
out of
document level validation. This only applies when the $out
*
circumvent
document level validation. This only applies when the $out
* stage is specified.
* stage is specified.
*
*
* For servers < 3.2, this option is ignored as document level validation
* For servers < 3.2, this option is ignored as document level validation
...
...
src/Operation/BulkWrite.php
View file @
c1f6e23d
...
@@ -86,8 +86,11 @@ class BulkWrite implements Executable
...
@@ -86,8 +86,11 @@ class BulkWrite implements Executable
*
*
* Supported options for the bulk write operation:
* Supported options for the bulk write operation:
*
*
* * bypassDocumentValidation (boolean): If true, allows the write to opt
* * bypassDocumentValidation (boolean): If true, allows the write to
* out of document level validation.
* circumvent document level validation. The default is false.
*
* For servers < 3.2, this option is ignored as document level validation
* is not available.
*
*
* * ordered (boolean): If true, when an insert fails, return without
* * ordered (boolean): If true, when an insert fails, return without
* performing the remaining writes. If false, when a write fails,
* performing the remaining writes. If false, when a write fails,
...
...
src/Operation/FindAndModify.php
View file @
c1f6e23d
...
@@ -54,8 +54,11 @@ class FindAndModify implements Executable
...
@@ -54,8 +54,11 @@ class FindAndModify implements Executable
* This is not supported for server versions < 3.4 and will result in an
* This is not supported for server versions < 3.4 and will result in an
* exception at execution time if used.
* exception at execution time if used.
*
*
* * bypassDocumentValidation (boolean): If true, allows the write to opt
* * bypassDocumentValidation (boolean): If true, allows the write to
* out of document level validation.
* circumvent document level validation.
*
* For servers < 3.2, this option is ignored as document level validation
* is not available.
*
*
* * fields (document): Limits the fields to return for the matching
* * fields (document): Limits the fields to return for the matching
* document.
* document.
...
...
src/Operation/FindOneAndReplace.php
View file @
c1f6e23d
...
@@ -41,8 +41,11 @@ class FindOneAndReplace implements Executable
...
@@ -41,8 +41,11 @@ class FindOneAndReplace implements Executable
*
*
* Supported options:
* Supported options:
*
*
* * bypassDocumentValidation (boolean): If true, allows the write to opt
* * bypassDocumentValidation (boolean): If true, allows the write to
* out of document level validation.
* circumvent document level validation.
*
* For servers < 3.2, this option is ignored as document level validation
* is not available.
*
*
* * collation (document): Collation specification.
* * collation (document): Collation specification.
*
*
...
...
src/Operation/FindOneAndUpdate.php
View file @
c1f6e23d
...
@@ -41,8 +41,11 @@ class FindOneAndUpdate implements Executable
...
@@ -41,8 +41,11 @@ class FindOneAndUpdate implements Executable
*
*
* Supported options:
* Supported options:
*
*
* * bypassDocumentValidation (boolean): If true, allows the write to opt
* * bypassDocumentValidation (boolean): If true, allows the write to
* out of document level validation.
* circumvent document level validation.
*
* For servers < 3.2, this option is ignored as document level validation
* is not available.
*
*
* * collation (document): Collation specification.
* * collation (document): Collation specification.
*
*
...
...
src/Operation/InsertMany.php
View file @
c1f6e23d
...
@@ -45,8 +45,11 @@ class InsertMany implements Executable
...
@@ -45,8 +45,11 @@ class InsertMany implements Executable
*
*
* Supported options:
* Supported options:
*
*
* * bypassDocumentValidation (boolean): If true, allows the write to opt
* * bypassDocumentValidation (boolean): If true, allows the write to
* out of document level validation.
* circumvent document level validation.
*
* For servers < 3.2, this option is ignored as document level validation
* is not available.
*
*
* * ordered (boolean): If true, when an insert fails, return without
* * ordered (boolean): If true, when an insert fails, return without
* performing the remaining writes. If false, when a write fails,
* performing the remaining writes. If false, when a write fails,
...
...
src/Operation/InsertOne.php
View file @
c1f6e23d
...
@@ -45,8 +45,11 @@ class InsertOne implements Executable
...
@@ -45,8 +45,11 @@ class InsertOne implements Executable
*
*
* Supported options:
* Supported options:
*
*
* * bypassDocumentValidation (boolean): If true, allows the write to opt
* * bypassDocumentValidation (boolean): If true, allows the write to
* out of document level validation.
* circumvent document level validation.
*
* For servers < 3.2, this option is ignored as document level validation
* is not available.
*
*
* * writeConcern (MongoDB\Driver\WriteConcern): Write concern.
* * writeConcern (MongoDB\Driver\WriteConcern): Write concern.
*
*
...
...
src/Operation/ReplaceOne.php
View file @
c1f6e23d
...
@@ -39,8 +39,11 @@ class ReplaceOne implements Executable
...
@@ -39,8 +39,11 @@ class ReplaceOne implements Executable
*
*
* Supported options:
* Supported options:
*
*
* * bypassDocumentValidation (boolean): If true, allows the write to opt
* * bypassDocumentValidation (boolean): If true, allows the write to
* out of document level validation.
* circumvent document level validation.
*
* For servers < 3.2, this option is ignored as document level validation
* is not available.
*
*
* * collation (document): Collation specification.
* * collation (document): Collation specification.
*
*
...
...
src/Operation/Update.php
View file @
c1f6e23d
...
@@ -50,8 +50,11 @@ class Update implements Executable
...
@@ -50,8 +50,11 @@ class Update implements Executable
*
*
* Supported options:
* Supported options:
*
*
* * bypassDocumentValidation (boolean): If true, allows the write to opt
* * bypassDocumentValidation (boolean): If true, allows the write to
* out of document level validation.
* circumvent document level validation.
*
* For servers < 3.2, this option is ignored as document level validation
* is not available.
*
*
* * collation (document): Collation specification.
* * collation (document): Collation specification.
*
*
...
...
src/Operation/UpdateMany.php
View file @
c1f6e23d
...
@@ -39,8 +39,11 @@ class UpdateMany implements Executable
...
@@ -39,8 +39,11 @@ class UpdateMany implements Executable
*
*
* Supported options:
* Supported options:
*
*
* * bypassDocumentValidation (boolean): If true, allows the write to opt
* * bypassDocumentValidation (boolean): If true, allows the write to
* out of document level validation.
* circumvent document level validation.
*
* For servers < 3.2, this option is ignored as document level validation
* is not available.
*
*
* * collation (document): Collation specification.
* * collation (document): Collation specification.
*
*
...
...
src/Operation/UpdateOne.php
View file @
c1f6e23d
...
@@ -39,8 +39,11 @@ class UpdateOne implements Executable
...
@@ -39,8 +39,11 @@ class UpdateOne implements Executable
*
*
* Supported options:
* Supported options:
*
*
* * bypassDocumentValidation (boolean): If true, allows the write to opt
* * bypassDocumentValidation (boolean): If true, allows the write to
* out of document level validation.
* circumvent document level validation.
*
* For servers < 3.2, this option is ignored as document level validation
* is not available.
*
*
* * collation (document): Collation specification.
* * collation (document): Collation specification.
*
*
...
...
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