Scroll to navigation

MONGOC_DATABASE_GET_NAME(3) libmongoc MONGOC_DATABASE_GET_NAME(3)

NAME

mongoc_database_get_name - mongoc_database_get_name()

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

2017-present, MongoDB, Inc

August 31, 2022 1.23.0