Provided by: libmongoc-doc_1.9.2+dfsg-1build1_all 

NAME
mongoc_uri_get_database - mongoc_uri_get_database()
SYNOPSIS
const char *
mongoc_uri_get_database (const mongoc_uri_t *uri);
PARAMETERS
• uri: A mongoc_uri_t.
DESCRIPTION
Fetches the database portion of an URI if provided. This is the portion after the / but before the ?.
RETURNS
A string which should not be modified or freed.
AUTHOR
MongoDB, Inc
COPYRIGHT
2018, MongoDB, Inc
1.9.3-dev Feb 05, 2018 MONGOC_URI_GET_DATABASE(3)