...

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

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

     1{
     2  "data": [],
     3  "tests": [
     4    {
     5      "description": "Estimated document count with empty collection",
     6      "operation": {
     7        "name": "estimatedDocumentCount",
     8        "arguments": {}
     9      },
    10      "outcome": {
    11        "result": 0
    12      }
    13    },
    14    {
    15      "description": "Count documents with empty collection",
    16      "operation": {
    17        "name": "countDocuments",
    18        "arguments": {
    19          "filter": {}
    20        }
    21      },
    22      "outcome": {
    23        "result": 0
    24      }
    25    },
    26    {
    27      "description": "Deprecated count with empty collection",
    28      "operation": {
    29        "name": "count",
    30        "arguments": {
    31          "filter": {}
    32        }
    33      },
    34      "outcome": {
    35        "result": 0
    36      }
    37    }
    38  ]
    39}

View as plain text