Debian Codegraph @

src/libmongoc/tests/json/crud/legacy/v1/read/count-collation.json

raw
1 {
2 "data": [
3 {
4 "_id": 1,
5 "x": "PING"
6 }
7 ],
8 "minServerVersion": "3.4",
9 "tests": [
10 {
11 "description": "Count documents with collation",
12 "operation": {
13 "name": "countDocuments",
14 "arguments": {
15 "filter": {
16 "x": "ping"
17 },
18 "collation": {
19 "locale": "en_US",
20 "strength": 2
21 }
22 }
23 },
24 "outcome": {
25 "result": 1
26 }
27 },
28 {
29 "description": "Deprecated count with collation",
30 "operation": {
31 "name": "count",
32 "arguments": {
33 "filter": {
34 "x": "ping"
35 },
36 "collation": {
37 "locale": "en_US",
38 "strength": 2
39 }
40 }
41 },
42 "outcome": {
43 "result": 1
44 }
45 }
46 ]
47 }