MONGOC_DATABASE_GET_NAME(3) libmongoc MONGOC_DATABASE_GET_NAME(3)

const char *
mongoc_database_get_name (mongoc_database_t *database);


Fetches the name of the database.

database: A mongoc_database_t.

A string which should not be modified or freed.

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0