Debian Codegraph @

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

raw
1 {
2 "data": [
3 {
4 "_id": 1,
5 "string": "PING"
6 },
7 {
8 "_id": 2,
9 "string": "ping"
10 }
11 ],
12 "minServerVersion": "3.4",
13 "tests": [
14 {
15 "description": "Distinct with a collation",
16 "operation": {
17 "name": "distinct",
18 "arguments": {
19 "fieldName": "string",
20 "collation": {
21 "locale": "en_US",
22 "strength": 2
23 }
24 }
25 },
26 "outcome": {
27 "result": [
28 "PING"
29 ]
30 }
31 }
32 ]
33 }