MONGOC_TRANSACTION_STATE_T(3)
Constants for transaction states π
okay bestie, welcome to MONGOC_TRANSACTION_STATE_T(3) from libmongoc β it's literally the constants for transaction states, and the enum is giving main character energy β¨
πΈ 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. That's the whole vibe check: they tell you where a transaction is at, no cap π«Ά
β¨ FLAG VALUES β¨
MONGOC_TRANSACTION_NONEβ there is no transaction in progress. Nothing happening, empty calendar, iconic quiet life πMONGOC_TRANSACTION_STARTINGβ a transaction has been started, but no operation has been sent to the server. It's in its "getting ready" era πMONGOC_TRANSACTION_IN_PROGRESSβ a transaction is in progress. We're in it, bestie π₯MONGOC_TRANSACTION_COMMITTEDβ the transaction was committed. Slay, it's official βMONGOC_TRANSACTION_ABORTEDβ the transaction was aborted. Not every era ends in a commit, and that's okay π
π«Ά AUTHOR π«Ά
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
that's the whole page, bestie β MONGOC_TRANSACTION_STATE_T(3), libmongoc 2.5.6, dated Oct 09, 2026. bye and stay enum-pilled ππ¦
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms