...

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

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

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

View as plain text