SysTutorials

Linux Manual Pages › Section 3

mongoc_collection_get_name(3)

mongoc_collection_get_name() – 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.