Debian Codegraph @

src/libmongoc/tests/json/crud/legacy/v1/write/deleteMany-collation.json

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