...
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 "serverless": "forbid",
18 "tests": [
19 {
20 "description": "UpdateMany when many documents match with collation",
21 "operation": {
22 "name": "updateMany",
23 "arguments": {
24 "filter": {
25 "x": "ping"
26 },
27 "update": {
28 "$set": {
29 "x": "pong"
30 }
31 },
32 "collation": {
33 "locale": "en_US",
34 "strength": 2
35 }
36 }
37 },
38 "outcome": {
39 "result": {
40 "matchedCount": 2,
41 "modifiedCount": 2,
42 "upsertedCount": 0
43 },
44 "collection": {
45 "data": [
46 {
47 "_id": 1,
48 "x": 11
49 },
50 {
51 "_id": 2,
52 "x": "pong"
53 },
54 {
55 "_id": 3,
56 "x": "pong"
57 }
58 ]
59 }
60 }
61 }
62 ]
63}
View as plain text