PARAMETERS
- Provided by: libmongoc-doc (Version: 1.26.0-1.1ubuntu2)
- Source: mongo-c-driver
- Report a bug
If successful, this function returns a newly allocated mongoc_client_session_t that should be freed with mongoc_client_session_destroy() when no longer in use. On error, returns NULL and sets error.
This function can fail if the driver is not built with crypto support, if opts is misconfigured, or if the session is configured with options that the server does not support.
MongoDB, Inc
2017-present, MongoDB, Inc