mongoc_collection_get_name(3) Fetches the name of collection.

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.

COLOPHON

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.