...

Text file src/go.mongodb.org/mongo-driver/testdata/crud/v1/read/find-collation.json

Documentation: go.mongodb.org/mongo-driver/testdata/crud/v1/read

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

View as plain text