Debian Codegraph @

src/libmongoc/tests/json/crud/legacy/v1/write/findOneAndDelete-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": "FindOneAndDelete when one document matches with collation",
20 "operation": {
21 "name": "findOneAndDelete",
22 "arguments": {
23 "filter": {
24 "_id": 2,
25 "x": "PING"
26 },
27 "projection": {
28 "x": 1,
29 "_id": 0
30 },
31 "sort": {
32 "x": 1
33 },
34 "collation": {
35 "locale": "en_US",
36 "strength": 2
37 }
38 }
39 },
40 "outcome": {
41 "result": {
42 "x": "ping"
43 },
44 "collection": {
45 "data": [
46 {
47 "_id": 1,
48 "x": 11
49 },
50 {
51 "_id": 3,
52 "x": "pINg"
53 }
54 ]
55 }
56 }
57 }
58 ]
59 }