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

FreeBSD Manual Pages

  
 
  

home | help
MONGOC_TRANSACTION_STATE_T(3)	   libmongoc	 MONGOC_TRANSACTION_STATE_T(3)

Constants for transaction states

SYNOPSIS
	  typedef enum {
	    MONGOC_TRANSACTION_NONE = 0,
	    MONGOC_TRANSACTION_STARTING	= 1,
	    MONGOC_TRANSACTION_IN_PROGRESS = 2,
	    MONGOC_TRANSACTION_COMMITTED = 3,
	    MONGOC_TRANSACTION_ABORTED = 4,
	  } mongoc_transaction_state_t;

DESCRIPTION
       These constants describe	the current transaction	state of a session.

FLAG VALUES
	    +----------------------------+----------------------------+
	    | MONGOC_TRANSACTION_NONE	 | There is no transaction in |
	    |				 | progress.		      |
	    +----------------------------+----------------------------+
	    | MONGOC_TRANSACTION_START-	 | A   transaction  has	 been |
	    | ING			 | started, but	no  operation |
	    |				 | has	 been	sent  to  the |
	    |				 | server.		      |
	    +----------------------------+----------------------------+
	    | MONGOC_TRANSAC-		 | A   transaction   is	   in |
	    | TION_IN_PROGRESS		 | progress.		      |
	    +----------------------------+----------------------------+
	    | MONGOC_TRANSACTION_COMMIT- | The	transaction  was com- |
	    | TED			 | mitted.		      |
	    +----------------------------+----------------------------+
	    | MONGOC_TRANSACTION_ABORTED | The	  transaction	  was |
	    |				 | aborted.		      |
	    +----------------------------+----------------------------+

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 2025	 MONGOC_TRANSACTION_STATE_T(3)

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

home | help