MONGOC_CLIENT_SESSION_GET_DIRTY(3)

πŸ’… MONGOC_CLIENT_SESSION_GET_DIRTY(3) πŸ’…

okay bestie, welcome to the libmongoc manual, this one's a little deep-cut but we're gonna get through it together 🫢


✨ SYNOPSIS ✨

bool
mongoc_client_session_get_dirty (const mongoc_client_session_t *session);

so picture it: you've got a session, right? and you just wanna know if it's been marked "dirty" as defined in the driver sessions specification. that's literally the whole gig. that's the function. πŸ’…


πŸŽ€ PARAMETERS πŸŽ€

  • session β€” a const mongoc_client_session_t. that's your session bb, the one we're vibe-checking ✨

🌸 DESCRIPTION 🌸

okay so here's the tea β˜• β€” this function is intended for use by drivers that wrap libmongoc. like, it's for the driver devs, the ones building on top of us.

it is not useful in client applications. nope. not for you if you're just out here writing a regular app. this is backstage-pass energy only, iykyk 😭


πŸ¦‹ RETURNS πŸ¦‹

a bool (boolean, if we're being formal) indicating whether the session has been marked "dirty". that's it. that's the return value. slay πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” icons only, no cap πŸ”₯


2009-present, MongoDB, Inc. β€” periodt, the whole span, respect the legacy πŸ‘‘


bestie reminder: keep the exact spelling β€” mongoc_client_session_get_dirty β€” no auto-correct shenanigans πŸ™ˆ

and that's the page!! tysm for reading, mwah πŸŽ€βœ¨ version 2.5.6, dated Oct 09, 2024 β€” sign-off complete, go forth and be iconic β­πŸ“

πŸ“¦ where this page comes from