testdata/crud/v1/read/count-empty.yml
raw| 1 | data: [] |
| 2 | |
| 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 | 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 |