Sha256: b1e38601ec4c3f37f37ee65f0c2b466c660d5f7e07fb11841720c878cde5ed2f

Contents?: true

Size: 833 Bytes

Versions: 89

Compression:

Stored size: 833 Bytes

Contents

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

tests:
    -
        description: "DeleteMany when many documents match"
        operation:
            name: "deleteMany"
            arguments:
                filter: 
                    _id: {$gt: 1}

        outcome:
            result:
                deletedCount: 2
            collection:
                data:
                    - {_id: 1, x: 11}
    -
        description: "DeleteMany when no document matches"
        operation:
            name: "deleteMany"
            arguments:
                filter: {_id: 4}

        outcome:
            result:
                deletedCount: 0
            collection:
                data:
                    - {_id: 1, x: 11}
                    - {_id: 2, x: 22}
                    - {_id: 3, x: 33}

Version data entries

89 entries across 87 versions & 3 rubygems

Version Path
mongo-2.21.0 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.20.1 spec/spec_tests/data/crud/write/deleteMany.yml
mogno-2.20.0 spec/spec_tests/data/crud/write/deleteMany.yml
mogno-1.0.0 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.20.0 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.19.3 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.16.4 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.17.4 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.18.3 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.19.2 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.19.1 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.19.0 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.18.2 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.17.3 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.18.1 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.18.0 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.17.2 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.16.3 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.18.0.beta1 spec/spec_tests/data/crud/write/deleteMany.yml
mongo-2.16.2 spec/spec_tests/data/crud/write/deleteMany.yml