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

NAME

6       mongoc_collection_keys_to_index_string  - mongoc_collection_keys_to_in‐
7       dex_string()
8

SYNOPSIS

10          char *
11          mongoc_collection_keys_to_index_string (const bson_t *keys)
12             BSON_GNUC_WARN_UNUSED_RESULT;
13

PARAMETERS

15keys: A bson_t. This is expected to match the form of the  key  field
16         in the createIndexes command.
17

DESCRIPTION

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

RETURNS

27       A string that should be freed with bson_free().
28

AUTHOR

30       MongoDB, Inc
31
33       2017-present, MongoDB, Inc
34
35
36
37
381.24.3                           Aug 1M7O,NG2O0C2_3COLLECTION_KEYS_TO_INDEX_STRING(3)
Impressum