1MONGOC_COLLECTION_KEYS_TO_INDEX_STRIlNiGbM(mO3oN)nGgOoCc_COLLECTION_KEYS_TO_INDEX_STRING(3)
2
3
4

SYNOPSIS

6          char *
7          mongoc_collection_keys_to_index_string (const bson_t *keys)
8             BSON_GNUC_WARN_UNUSED_RESULT;
9

PARAMETERS

11keys:  A  bson_t. This is expected to match the form of the key field
12         in the createIndexes command.
13

DESCRIPTION

15       This function returns the canonical  stringification  of  a  given  key
16       specification. See Manage Collection Indexes for example usage.
17
18       It  is  a programming error to call this function on a non-standard in‐
19       dex, such one other than a straight index with ascending  and  descend‐
20       ing.
21

RETURNS

23       A string that should be freed with bson_free().
24

AUTHOR

26       MongoDB, Inc
27
29       2017-present, MongoDB, Inc
30
31
32
33
341.25.1                           Nov 0M8O,NG2O0C2_3COLLECTION_KEYS_TO_INDEX_STRING(3)
Impressum