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.
16

DESCRIPTION

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

RETURNS

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

AUTHOR

29       MongoDB, Inc
30
32       2017-present, MongoDB, Inc
33
34
35
36
371.23.1                           Oct 2M0O,NG2O0C2_2COLLECTION_KEYS_TO_INDEX_STRING(3)
Impressum