Sha256: 806e7dff2dabbe503acdc8f0a5d9c4674384060f49389b8b7095529b31687f00

Contents?: true

Size: 651 Bytes

Versions: 11

Compression:

Stored size: 651 Bytes

Contents

data:
    - {_id: 1, x: 11}
    - {_id: 2, x: 'ping'}
    - {_id: 3, x: 'pINg'}
minServerVersion: '3.4'
serverless: 'forbid'

tests:
    -
        description: "DeleteOne when many documents matches with collation"
        operation:
            name: "deleteOne"
            arguments:
                filter: {x: 'PING'}
                collation: { locale: 'en_US', strength: 2 } # https://docs.mongodb.com/manual/reference/collation/#collation-document

        outcome:
            result:
                deletedCount: 1
            collection:
                data:
                   - {_id: 1, x: 11}
                   - {_id: 3, x: 'pINg'}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mongo-2.16.4 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.17.4 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.17.3 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.17.2 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.16.3 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.16.2 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.17.1 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.16.1 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.17.0 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.16.0 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.16.0.alpha1 spec/spec_tests/data/crud/write/deleteOne-collation.yml