Scroll to navigation

MONGOC_COLLECTION_GET_NAME(3) libmongoc MONGOC_COLLECTION_GET_NAME(3)

SYNOPSIS

const char *
mongoc_collection_get_name (mongoc_collection_t *collection);


PARAMETERS

collection: A mongoc_collection_t <>.

DESCRIPTION

Fetches the name of collection.

RETURNS

A string which should not be modified or freed.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

November 26, 2025 2.2.0