Sha256: c7973aca259e010a566c1332b3dd38401585181c137302980c949fb40029fee4

Contents?: true

Size: 701 Bytes

Versions: 64

Compression:

Stored size: 701 Bytes

Contents

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

tests:
    -
        description: "FindOneAndDelete when one document matches with collation"
        operation:
            name: findOneAndDelete
            arguments:
                filter: {_id: 2, x: 'PING'}
                projection: {x: 1, _id: 0}
                sort: {x: 1}
                collation: { locale: 'en_US', strength: 2 } # https://docs.mongodb.com/master/reference/collation/#collation-document

        outcome:
            result: {x: 'ping'}
            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/findOneAndDelete-collation.yml
mongo-2.8.0.rc0 spec/spec_tests/data/crud/write/findOneAndDelete-collation.yml
mongo-2.7.1 spec/spec_tests/data/crud/write/findOneAndDelete-collation.yml
mongo-2.7.0 spec/spec_tests/data/crud/write/findOneAndDelete-collation.yml
mongo-2.7.0.rc0 spec/spec_tests/data/crud/write/findOneAndDelete-collation.yml
mongo-2.6.4 spec/support/crud_tests/write/findOneAndDelete-collation.yml
mongo-2.6.2 spec/support/crud_tests/write/findOneAndDelete-collation.yml
mongo-2.6.1 spec/support/crud_tests/write/findOneAndDelete-collation.yml
mongo-2.6.0 spec/support/crud_tests/write/findOneAndDelete-collation.yml
mongo-2.5.3 spec/support/crud_tests/write/findOneAndDelete-collation.yml
mongo-2.5.2 spec/support/crud_tests/write/findOneAndDelete-collation.yml
tdiary-5.0.8 vendor/bundle/gems/mongo-2.5.1/spec/support/crud_tests/write/findOneAndDelete-collation.yml
mongo-2.5.1 spec/support/crud_tests/write/findOneAndDelete-collation.yml
mongo-2.5.0 spec/support/crud_tests/write/findOneAndDelete-collation.yml
mongo-2.5.0.beta spec/support/crud_tests/write/findOneAndDelete-collation.yml
mongo-2.4.3 spec/support/crud_tests/write/findOneAndDelete-collation.yml
tdiary-5.0.5 vendor/bundle/gems/mongo-2.4.1/spec/support/crud_tests/write/findOneAndDelete-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/findOneAndDelete-collation.yml
tdiary-5.0.5 vendor/bundle/gems/mongo-2.4.2/spec/support/crud_tests/write/findOneAndDelete-collation.yml
mongo-2.4.2 spec/support/crud_tests/write/findOneAndDelete-collation.yml