mongoc_database_get_name()

Synopsis

const char *
mongoc_database_get_name (mongoc_database_t *database);

Fetches the name of the database.

Parameters

Returns

A string which should not be modified or freed.