1MONGOC_MATCHER(3)                  libmongoc                 MONGOC_MATCHER(3)
2
3
4

NAME

6       mongoc_matcher - Client Side Document Matching
7

BASIC DOCUMENT MATCHING (DEPRECATED)

9       WARNING:
10          This feature will be removed in version 2.0.
11
12       The  MongoDB  C  driver supports matching a subset of the MongoDB query
13       specification on the client.
14
15       Currently, basic numeric, string, subdocument, and array equality, $gt,
16       $gte, $lt, $lte, $in, $nin, $ne, $exists, $type, $and, and $or are sup‐
17       ported. As this is not the same implementation as the  MongoDB  server,
18       some  inconsistencies  may  occur. Please file a bug if you find such a
19       case.
20
21       To test this, perform a mongodump of a single collection and pipe it to
22       the program.
23
24          $ echo "db.test.insert({hello:'world'})" | mongo
25          connecting to: test
26          WriteResult({ "nInserted" : 1 })
27          bye
28
29          $ mongodump -d test -c test -o - | filter-bsondump
30          { "_id" : { "$oid" : "537afac9a70e5b4d556153bc" }, "hello" : "world" }
31

AUTHOR

33       MongoDB, Inc
34
36       2017-present, MongoDB, Inc
37
38
39
40
411.20.0                           Nov 18, 2021                MONGOC_MATCHER(3)
Impressum