SYNOPSIS

mongoc_matcher_t *
mongoc_matcher_new (const bson_t *query,
                    bson_error_t *error);

DESCRIPTION

The mongoc_matcher_new() function shall create a new mongoc_matcher(7). The query should conform to the matching syntax noted in mongoc_matcher(7).

RETURN VALUE

The mongoc_matcher_new() function returns a new mongoc_matcher(7).

In the event of an error, NULL is returned.

ERRORS

In the event of an error, error can be inspected for more detail.

SEE ALSO

AUTHORS

This page was written by MongoDB Inc.