logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

bool

Author

       MongoDB, Inc

Parameters

session: A mongoc_client_session_t.

       • error: An optional location for a bson_error_t or NULL.

Return

       Returns true if the transaction was aborted. Returns false and sets error if there are invalid arguments,
       such as a session with no transaction in progress. Network or server errors are ignored.

Synopsis

          bool
          mongoc_client_session_abort_transaction (mongoc_client_session_t *session,
                                                   bson_error_t *error);

       Abort a multi-document transaction.

See Also