Sha256: 24128436fa2daa391fdb630157823a8f796810b83603679a1bde322efb6c53fa

Contents?: true

Size: 630 Bytes

Versions: 64

Compression:

Stored size: 630 Bytes

Contents

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

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/master/reference/collation/#collation-document

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

Version data entries

64 entries across 62 versions & 2 rubygems

Version Path
mongo-2.7.2 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.8.0.rc0 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.7.1 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.7.0 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.7.0.rc0 spec/spec_tests/data/crud/write/deleteOne-collation.yml
mongo-2.6.4 spec/support/crud_tests/write/deleteOne-collation.yml
mongo-2.6.2 spec/support/crud_tests/write/deleteOne-collation.yml
mongo-2.6.1 spec/support/crud_tests/write/deleteOne-collation.yml
mongo-2.6.0 spec/support/crud_tests/write/deleteOne-collation.yml
mongo-2.5.3 spec/support/crud_tests/write/deleteOne-collation.yml
mongo-2.5.2 spec/support/crud_tests/write/deleteOne-collation.yml
tdiary-5.0.8 vendor/bundle/gems/mongo-2.5.1/spec/support/crud_tests/write/deleteOne-collation.yml
mongo-2.5.1 spec/support/crud_tests/write/deleteOne-collation.yml
mongo-2.5.0 spec/support/crud_tests/write/deleteOne-collation.yml
mongo-2.5.0.beta spec/support/crud_tests/write/deleteOne-collation.yml
mongo-2.4.3 spec/support/crud_tests/write/deleteOne-collation.yml
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/mongo-2.4.1/spec/support/crud_tests/write/deleteOne-collation.yml
tdiary-5.0.5 vendor/bundle/gems/mongo-2.4.1/spec/support/crud_tests/write/deleteOne-collation.yml
tdiary-5.0.5 vendor/bundle/gems/mongo-2.4.2/spec/support/crud_tests/write/deleteOne-collation.yml
mongo-2.4.2 spec/support/crud_tests/write/deleteOne-collation.yml