MONGOC_APM_CO..._DATABASE_NAME(3)
π MONGOC_APM_CO..._DATABASE_NAME(3) π
okay so this is your libmongoc girlie manual page, and we're talking about mongoc_apm_command_failed_get_database_name β yes, the whole name is a mouthful, but she's iconic π
β¨ SYNOPSIS β¨
const char *
mongoc_apm_command_failed_get_database_name (
const mongoc_apm_command_failed_t *event);
This function returns this event's database name. Periodt. π«Ά
But bestie, listen: the data is only valid in the scope of the callback that receives this event. So if you're gonna access it after the callback returns, you gotta copy it first. No keeping borrowed pointers like they're yours, okay? π
πΈ PARAMETERS πΈ
eventβ amongoc_apm_command_failed_t. That's the event you're handing over, bestie. π¦
π RETURNS π
A string that should not be modified or freed. Like, do not touch it, do not free it, do not try to make it fetch. It's giving "look, don't touch" energy π
SEE ALSO: Introduction to Application Performance Monitoring
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
okay that's the whole vibe: brought to you by libmongoc version 2.5.6, dated Oct 09, 2026. bye bestie πβ¨
π¦ 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