File tree Expand file tree Collapse file tree 3 files changed +22
-3
lines changed
source/includes/driver-examples Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 102
102
pass the session to each operation in the transaction.
103
103
104
104
.. literalinclude :: /driver-examples/DocumentationTransactionsExampleSpec.scala
105
- :dedent: 2
106
105
:language: scala
107
106
:lines: 79-87
108
107
140
139
:dedent: 8
141
140
:start-after: Start Transactions Retry Example 1
142
141
:end-before: End Transactions Retry Example 1
142
+
143
+ - id: c
144
+ content: |
145
+
146
+ .. literalinclude :: /driver-examples/test-mongoc-sample-commands.c
147
+ :language: c
148
+ :lines: 3057-3087
Original file line number Diff line number Diff line change 87
87
pass the session to each operation in the transaction.
88
88
89
89
.. literalinclude :: /driver-examples/DocumentationTransactionsExampleSpec.scala
90
- :dedent: 2
91
90
:language: scala
92
91
:lines: 66-77
93
92
122
121
:start-after: Start Transactions Retry Example 2
123
122
:end-before: End Transactions Retry Example 2
124
123
124
+
125
+ - id: c
126
+ content: |
127
+
128
+ .. literalinclude :: /driver-examples/test-mongoc-sample-commands.c
129
+ :language: c
130
+ :lines: 3090-3117
Original file line number Diff line number Diff line change 194
194
pass the session to each operation in the transaction.
195
195
196
196
.. literalinclude :: /driver-examples/DocumentationTransactionsExampleSpec.scala
197
- :dedent: 2
198
197
:language: scala
199
198
:lines: 50-
200
199
232
231
:dedent: 8
233
232
:start-after: Start Transactions Retry Example 3
234
233
:end-before: End Transactions Retry Example 3
234
+
235
+ - id: c
236
+ content: |
237
+
238
+ .. literalinclude :: /driver-examples/test-mongoc-sample-commands.c
239
+ :language: c
240
+ :start-after: Start Transactions Retry Example 3
241
+ :end-before: End Transactions Retry Example 3
You can’t perform that action at this time.
0 commit comments