Skip to content

Commit 4ba6259

Browse files
committed
Merged pull request #596
2 parents d11507b + 01153b3 commit 4ba6259

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/includes/apiargs-MongoDBCollection-common-option.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ description: |
4242
4343
This is not supported for server versions prior to 3.2 and will result in an
4444
exception at execution time if used.
45+
46+
It is not possible to specify a :manual:`read concern
47+
</reference/read-concern>` for individual operations as part of a
48+
transaction. Instead, set the ``readConcern`` option when starting the
49+
transaction with :php:`startTransaction <mongodb-driver-session.starttransaction>`.
4550
interface: phpmethod
4651
operation: ~
4752
optional: true
@@ -68,6 +73,11 @@ type: :php:`MongoDB\\Driver\\WriteConcern <class.mongodb-driver-writeconcern>`
6873
description: |
6974
:manual:`Write concern </reference/write-concern>` to use for the operation.
7075
Defaults to the collection's write concern.
76+
77+
It is not possible to specify a :manual:`write concern
78+
</reference/write-concern>` for individual operations as part of a
79+
transaction. Instead, set the ``writeConcern`` option when starting the
80+
transaction with :php:`startTransaction <mongodb-driver-session.starttransaction>`.
7181
interface: phpmethod
7282
operation: ~
7383
optional: true

0 commit comments

Comments
 (0)