You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/mongoc_collection_create_bulk_operation_with_opts.rst
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,8 @@ If ``opts`` contains a field "ordered" with a false value, then the bulk operati
32
32
33
33
All operations in the bulk operation will use the "writeConcern" field specified in ``opts``. If there is none then the collection's write concern is used. The global default is acknowledged writes: MONGOC_WRITE_CONCERN_W_DEFAULT.
34
34
35
+
If ``opts`` contains a "sessionId" field, which may be added with :symbol:`mongoc_client_session_append`, all operations in the bulk operation will use the corresponding :symbol:`mongoc_client_session_t`. See the example code for :symbol:`mongoc_client_session_t`.
0 commit comments