Scroll to navigation

MONGOC_DATABASE_GET_NAME(3) libmongoc MONGOC_DATABASE_GET_NAME(3)

SYNOPSIS

const char *
mongoc_database_get_name (mongoc_database_t *database);


Fetches the name of the database.

PARAMETERS

database: A mongoc_database_t <>.

RETURNS

A string which should not be modified or freed.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

November 26, 2025 2.2.0