MONGOC_APM_COM..._DATABASE_NAME(3)
β¨ MONGOC_APM_COM..._DATABASE_NAME(3) β libmongoc bestie edition β¨
okay so bestie, welcome to the libmongoc manual page for MONGOC_APM_COM..._DATABASE_NAME(3). This is lowkey a tiny page, but it's highkey important if you're living that APM callback life. π¦
β¨ SYNOPSIS β¨
const char *
mongoc_apm_command_succeeded_get_database_name (
const mongoc_apm_command_succeeded_t *event);
This function returns this event's database name. Slay. But listen: the data is only valid in the scope of the callback that receives this event β copy it if it will be accessed after the callback returns. No cap, do not let that pointer wander off after the callback dips, because that's not the vibe. π
β¨ PARAMETERS β¨
event: Amongoc_apm_command_succeeded_t. That's the whole assignment, bestie.
β¨ RETURNS β¨
A string that should not be modified or freed. Read that again: do not modify it, do not free it. It's not yours to edit or yeet into the void. π«Ά
β¨ SEE ALSO β¨
Introduction to Application Performance Monitoring
β¨ AUTHOR β¨
MongoDB, Inc
β¨ COPYRIGHT β¨
2009-present, MongoDB, Inc.
mwah π okay that's the page! shoutout to libmongoc version 2.5.6, dated Oct 09, 202, because that's what the footer says and we respect the footer's choices. π
π¦ 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