Skip to content

Commit d8b1e19

Browse files
committed
CDRIVER-2331 document sessionId option for create_bulk
1 parent c34de1e commit d8b1e19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/mongoc_collection_create_bulk_operation_with_opts.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ If ``opts`` contains a field "ordered" with a false value, then the bulk operati
3232

3333
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.
3434

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`.
36+
3537
See Also
3638
--------
3739

0 commit comments

Comments
 (0)