Sha256: e087c8130f4b6662b2627792e28e8ddcaf7b71c0dc0de081c8b86c0e99f2e4bb

Contents?: true

Size: 716 Bytes

Versions: 15

Compression:

Stored size: 716 Bytes

Contents

data:
    - {_id: 1, x: 11}
    - {_id: 2, x: 22}
    - {_id: 3, x: 33}

tests:
    -
        description: "Count without a filter"
        operation:
            name: count
            arguments:
                filter: { }

        outcome:
            result: 3
    -
        description: "Count with a filter"
        operation:
            name: count
            arguments:
                filter: 
                    _id: {$gt: 1}

        outcome:
            result: 2
    -
        description: "Count with skip and limit"
        operation:
            name: count
            arguments:
                filter: {}
                skip: 1
                limit: 3

        outcome:
            result: 2

Version data entries

15 entries across 13 versions & 2 rubygems

Version Path
mongo-2.5.3 spec/support/crud_tests/read/count.yml
mongo-2.5.2 spec/support/crud_tests/read/count.yml
tdiary-5.0.8 vendor/bundle/gems/mongo-2.5.1/spec/support/crud_tests/read/count.yml
mongo-2.5.1 spec/support/crud_tests/read/count.yml
mongo-2.5.0 spec/support/crud_tests/read/count.yml
mongo-2.5.0.beta spec/support/crud_tests/read/count.yml
mongo-2.4.3 spec/support/crud_tests/read/count.yml
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/mongo-2.4.1/spec/support/crud_tests/read/count.yml
tdiary-5.0.5 vendor/bundle/gems/mongo-2.4.1/spec/support/crud_tests/read/count.yml
tdiary-5.0.5 vendor/bundle/gems/mongo-2.4.2/spec/support/crud_tests/read/count.yml
mongo-2.4.2 spec/support/crud_tests/read/count.yml
tdiary-5.0.4 vendor/bundle/gems/mongo-2.4.1/spec/support/crud_tests/read/count.yml
mongo-2.4.1 spec/support/crud_tests/read/count.yml
mongo-2.4.0 spec/support/crud_tests/read/count.yml
mongo-2.4.0.rc1 spec/support/crud_tests/read/count.yml