Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MONGOC_CLIENT...RT_TRANSACTION(3)  libmongoc MONGOC_CLIENT...RT_TRANSACTION(3)

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

       Abort a multi-document transaction.

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 er-
       ror  if there are invalid arguments, such as a session with no transac-
       tion in progress. Network or server errors are ignored.

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 2025MONGOC_CLIENT...RT_TRANSACTION(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_client_session_abort_transaction&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help