...

Text file src/go.mongodb.org/mongo-driver/testdata/crud/v1/read/count-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": "Count documents with collation",
    13      "operation": {
    14        "name": "countDocuments",
    15        "arguments": {
    16          "filter": {
    17            "x": "ping"
    18          },
    19          "collation": {
    20            "locale": "en_US",
    21            "strength": 2
    22          }
    23        }
    24      },
    25      "outcome": {
    26        "result": 1
    27      }
    28    },
    29    {
    30      "description": "Deprecated count with collation",
    31      "operation": {
    32        "name": "count",
    33        "arguments": {
    34          "filter": {
    35            "x": "ping"
    36          },
    37          "collation": {
    38            "locale": "en_US",
    39            "strength": 2
    40          }
    41        }
    42      },
    43      "outcome": {
    44        "result": 1
    45      }
    46    }
    47  ]
    48}

View as plain text