File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,11 @@ description: |
42
42
43
43
This is not supported for server versions prior to 3.2 and will result in an
44
44
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>`.
45
50
interface : phpmethod
46
51
operation : ~
47
52
optional : true
@@ -68,6 +73,11 @@ type: :php:`MongoDB\\Driver\\WriteConcern <class.mongodb-driver-writeconcern>`
68
73
description : |
69
74
:manual:`Write concern </reference/write-concern>` to use for the operation.
70
75
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>`.
71
81
interface : phpmethod
72
82
operation : ~
73
83
optional : true
You can’t perform that action at this time.
0 commit comments