FreeBSD Manual Pages
MONGOC_URI_SET_DATABASE(3) libmongoc MONGOC_URI_SET_DATABASE(3) SYNOPSIS bool mongoc_uri_set_database (mongoc_uri_t *uri, const char *database); PARAMETERS • uri: A mongoc_uri_t. • database: The new database name. DESCRIPTION Sets the URI's database, after the URI has been parsed from a string. The driver authenticates to this database if the connection string in- cludes authentication credentials. This database is also the return value of mongoc_client_get_default_database(). RETURNS Returns false if the option cannot be set, for example if database is not valid UTF-8. AUTHOR MongoDB, Inc COPYRIGHT 2009-present, MongoDB, Inc. 1.30.2 Apr 12, 2025 MONGOC_URI_SET_DATABASE(3)
SYNOPSIS | PARAMETERS | DESCRIPTION | RETURNS | AUTHOR | COPYRIGHT
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_uri_set_database&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>