...
1{
2 "data": [
3 {
4 "_id": 1,
5 "x": 11
6 },
7 {
8 "_id": 2,
9 "x": "ping"
10 }
11 ],
12 "minServerVersion": "3.4",
13 "serverless": "forbid",
14 "tests": [
15 {
16 "description": "UpdateOne when one document matches with collation",
17 "operation": {
18 "name": "updateOne",
19 "arguments": {
20 "filter": {
21 "x": "PING"
22 },
23 "update": {
24 "$set": {
25 "x": "pong"
26 }
27 },
28 "collation": {
29 "locale": "en_US",
30 "strength": 2
31 }
32 }
33 },
34 "outcome": {
35 "result": {
36 "matchedCount": 1,
37 "modifiedCount": 1,
38 "upsertedCount": 0
39 },
40 "collection": {
41 "data": [
42 {
43 "_id": 1,
44 "x": 11
45 },
46 {
47 "_id": 2,
48 "x": "pong"
49 }
50 ]
51 }
52 }
53 }
54 ]
55}
View as plain text