Sha256: 863421dca272d50242fb26ce606dfc59f67064b213bad74bb52b7307607bfd51

Contents?: true

Size: 651 Bytes

Versions: 14

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://mongodb.com/docs/manual/reference/collation/#collation-document

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

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
mongo-2.21.0 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.20.1 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mogno-2.20.0 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mogno-1.0.0 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.20.0 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.19.3 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.18.3 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.19.2 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.19.1 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.19.0 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.18.2 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.18.1 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.18.0 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.18.0.beta1 spec/spec_tests/data/crud/write/deleteOne-collation.yml