MONGOC_CLIENT_...IN_TRANSACTION(3)
π
MONGOC_CLIENT_...IN_TRANSACTION(3) β libmongoc π
okay so bestie, this is the libmongoc manual page for MONGOC_CLIENT_...IN_TRANSACTION(3), and it is here to answer one extremely specific question: is this session lowkey in the middle of a multi-document transaction? Thatβs the whole assignment. β¨
β¨ SYNOPSIS β¨
bool
mongoc_client_session_in_transaction (const mongoc_client_session_t *session);
Check whether a multi-document transaction is in progress for this session. No cap, thatβs the function. π«Ά
π«Ά PARAMETERS π«Ά
sessionβ amongoc_client_session_t. This is the session youβre asking about, the main character of the check. π
π RETURN π
Returns true if a transaction was started and has not been committed or aborted, otherwise false. Literally that simple, bestie. πΈ
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
Cute sign-off time: source/version is 2.5.6, and the date on this bad boy is shown as Oct 09, 202. mwah π
π¦ 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