Debian Codegraph @

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

raw
1 {
2 "data": [
3 {
4 "_id": 1,
5 "x": "ping"
6 }
7 ],
8 "minServerVersion": "3.4",
9 "tests": [
10 {
11 "description": "Aggregate with collation",
12 "operation": {
13 "name": "aggregate",
14 "arguments": {
15 "pipeline": [
16 {
17 "$match": {
18 "x": "PING"
19 }
20 }
21 ],
22 "collation": {
23 "locale": "en_US",
24 "strength": 2
25 }
26 }
27 },
28 "outcome": {
29 "result": [
30 {
31 "_id": 1,
32 "x": "ping"
33 }
34 ]
35 }
36 }
37 ]
38 }