1MONGOC_MATCHER_NEW(3)          MongoDB C Driver          MONGOC_MATCHER_NEW(3)
2
3
4

NAME

6       mongoc_matcher_new - mongoc_matcher_new()
7

SYNOPSIS

9          mongoc_matcher_t *
10          mongoc_matcher_new (const bson_t *query, bson_error_t *error);
11
12       Create a new mongoc_matcher_t using the query specification provided.
13

DEPRECATED

15       WARNING:
16          mongoc_matcher_t is deprecated and will be removed in version 2.0.
17

PARAMETERS

19       · query: A bson_t.
20
21       · error: An optional location for a bson_error_t or NULL.
22

ERRORS

24       Errors are propagated via the error parameter.
25

RETURNS

27       A  newly  allocated  mongoc_matcher_t  that  should  be freed with mon‐
28       goc_matcher_destroy() when no longer in  use.  Upon  failure,  NULL  is
29       returned  and  error  is  set.  This  could happen if query contains an
30       invalid query specification.
31

AUTHOR

33       MongoDB, Inc
34
36       2017-present, MongoDB, Inc
37
38
39
40
411.13.1                           Jan 24, 2019            MONGOC_MATCHER_NEW(3)
Impressum