SYNOPSIS

#include <bson.h>

bool
bson_append_minkey (bson_t     *bson,
                    const char *key,
                    int         key_length);

DESCRIPTION

The bson_append_minkey() function shall append an element of type BSON_TYPE_MINKEY to a bson document. This is primarily used in queries and unlikely to be used when storing a document to MongoDB.

RETURN VALUE

TRUE if successful. Otherwise FALSE and no modifications to bson are made.

ERRORS

FALSE is returned if there is insufficient space for the element.

SEE ALSO

AUTHORS

This page was written by MongoDB, Inc.