1MONGOC_MATCHER_NEW(3)              libmongoc             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             BSON_GNUC_WARN_UNUSED_RESULT BSON_GNUC_DEPRECATED;
12
13       Create a new mongoc_matcher_t using the query specification provided.
14

DEPRECATED

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

PARAMETERS

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

ERRORS

25       Errors are propagated via the error parameter.
26

RETURNS

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

AUTHOR

34       MongoDB, Inc
35
37       2017-present, MongoDB, Inc
38
39
40
41
421.21.1                           Mar 02, 2022            MONGOC_MATCHER_NEW(3)
Impressum