MONGOC_CLIENT...NSACTION_STATE(3)
π¦ mongoc_client_session_get_transaction_state(3) π¦
okay bestie so this is a page from libmongoc β the MongoDB C driver manual β and it's honestly tiny, which means you have zero excuses not to read it π
β¨ SYNOPSIS β¨
mongoc_transaction_state_t
mongoc_client_session_get_transaction_state (const mongoc_client_session_t *session);
Basically: hand it a session, and it hands you back the current transaction state for this session. That's the whole vibe. No cap. π«Ά
π PARAMETERS π
sessionβ amongoc_client_session_t. yes that's it. one (1) argument. she's low-effort and we respect her for it πΈ
β RETURN β
It returns a mongoc_transaction_state_t that represents the current transaction state. periodt. that's the entire return description, i'm not gatekeeping anything π
π AUTHOR π
MongoDB, Inc β iconic behavior fr fr π
π COPYRIGHT π
2009-present, MongoDB, Inc. β yes the copyright truly goes back to 2009, main character energy since day one π
k bye bestie, that's the whole page π¦ β this little gem is from libmongoc 2.5.6, dated Oct 09, 2026, and with that we are officially done here πβ¨πΈ
π¦ 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