MONGOC_APM_CO...T_COMMAND_NAME(3)
β¨ MONGOC_APM_CO...T_COMMAND_NAME(3) β¨
okay bestie, so this one lives in libmongoc π
and it's literally just one tiny lil function β mongoc_apm_command_started_get_command_name β but she's important, so pay attention π
πΈ SYNOPSIS πΈ
const char *
mongoc_apm_command_started_get_command_name (
const mongoc_apm_command_started_t *event);
Returns this event's command name. That's it, that's the whole gig π
β οΈ okay so this part matters, fr fr: the data is only valid in the scope of the callback that receives this event. So if you're gonna touch it after the callback returns, you gotta copy it first. no cap. don't be out here holding a dangling pointer, that's not the vibe π
π¦ PARAMETERS π¦
eventβ amongoc_apm_command_started_t. that's the whole parameter list. she's low maintenance β¨
π« RETURNS π«
A string that should not be modified or freed. like, hands off, she's not yours π₯
SEE ALSO:
- Introduction to Application Performance Monitoring π
π AUTHOR π
MongoDB, Inc β the icons themselves π
π COPYRIGHT π
2009-present, MongoDB, Inc.
okay that's the whole page, you ate that π«Άπ
libmongoc 2.5.6 Β· Oct 09, 2026 Β· mwah, go read the APM intro next, iykyk π
π¦ 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