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
ea7b0f7d
Commit
ea7b0f7d
authored
Nov 30, 2018
by
Derick Rethans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PHPLIB-364: Document that transactions do not allow per-op read/write concerns
parent
caaa0cc3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
apiargs-MongoDBCollection-common-option.yaml
docs/includes/apiargs-MongoDBCollection-common-option.yaml
+10
-0
No files found.
docs/includes/apiargs-MongoDBCollection-common-option.yaml
View file @
ea7b0f7d
...
@@ -42,6 +42,11 @@ description: |
...
@@ -42,6 +42,11 @@ description: |
This is not supported for server versions prior to 3.2 and will result in an
This is not supported for server versions prior to 3.2 and will result in an
exception at execution time if used.
exception at execution time if used.
It is not possible to specify a :manual:`read concern
</reference/read-concern>` for individual operations as part of a
transaction. Instead, set the ``readConcern`` option when starting the
transaction with :php:`startTransaction <mongodb-driver-session.starttransaction>`.
interface
:
phpmethod
interface
:
phpmethod
operation
:
~
operation
:
~
optional
:
true
optional
:
true
...
@@ -68,6 +73,11 @@ type: :php:`MongoDB\\Driver\\WriteConcern <class.mongodb-driver-writeconcern>`
...
@@ -68,6 +73,11 @@ type: :php:`MongoDB\\Driver\\WriteConcern <class.mongodb-driver-writeconcern>`
description
:
|
description
:
|
:manual:`Write concern </reference/write-concern>` to use for the operation.
:manual:`Write concern </reference/write-concern>` to use for the operation.
Defaults to the collection's write concern.
Defaults to the collection's write concern.
It is not possible to specify a :manual:`write concern
</reference/write-concern>` for individual operations as part of a
transaction. Instead, set the ``writeConcern`` option when starting the
transaction with :php:`startTransaction <mongodb-driver-session.starttransaction>`.
interface
:
phpmethod
interface
:
phpmethod
operation
:
~
operation
:
~
optional
:
true
optional
:
true
...
...
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