src/libmongoc/tests/json/crud/legacy/v1/read/find-collation.json
raw| 1 | { |
| 2 | "data": [ |
| 3 | { |
| 4 | "_id": 1, |
| 5 | "x": "ping" |
| 6 | } |
| 7 | ], |
| 8 | "minServerVersion": "3.4", |
| 9 | "tests": [ |
| 10 | { |
| 11 | "description": "Find with a collation", |
| 12 | "operation": { |
| 13 | "name": "find", |
| 14 | "arguments": { |
| 15 | "filter": { |
| 16 | "x": "PING" |
| 17 | }, |
| 18 | "collation": { |
| 19 | "locale": "en_US", |
| 20 | "strength": 2 |
| 21 | } |
| 22 | } |
| 23 | }, |
| 24 | "outcome": { |
| 25 | "result": [ |
| 26 | { |
| 27 | "_id": 1, |
| 28 | "x": "ping" |
| 29 | } |
| 30 | ] |
| 31 | } |
| 32 | } |
| 33 | ] |
| 34 | } |