mongoc_transaction_state_t(3)

mongoc_transaction_state_t3

Usage

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;

Constants for transaction states

Overview

These constants describe the current transaction state of a session.

Flag values

MONGOC_TRANSACTION_NONEThere is no transaction in progress.
MONGOC_TRANSACTION_STARTINGA transaction has been started, but no operation has been sent to the server.
MONGOC_TRANSACTION_IN_PROGRESSA transaction is in progress.
MONGOC_TRANSACTION_COMMITTEDThe transaction was committed.
MONGOC_TRANSACTION_ABORTEDThe transaction was aborted.

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.