Sha256: b954beb7d5cd09fcd7d5c4f48c8ca1f28e399c0d857c3a003a62c5a7a75da367

Contents?: true

Size: 787 Bytes

Versions: 6

Compression:

Stored size: 787 Bytes

Contents

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

tests:
    -
        description: "UpdateMany when many documents match with collation"
        operation:
            name: "updateMany"
            arguments:
                filter:
                    x: 'ping'
                update:
                    $set: {x: 'pong'}
                collation: { locale: 'en_US', strength: 2 } # https://docs.mongodb.com/master/reference/collation/#collation-document

        outcome:
            result:
                matchedCount: 2
                modifiedCount: 2
            collection:
                data:
                    - {_id: 1, x: 11}
                    - {_id: 2, x: 'pong'}
                    - {_id: 3, x: 'pong'}

Version data entries

6 entries across 5 versions & 2 rubygems

Version Path
tdiary-5.0.5 vendor/bundle/gems/mongo-2.4.1/spec/support/crud_tests/write/updateMany-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/updateMany-collation.yml
tdiary-5.0.4 vendor/bundle/gems/mongo-2.4.1/spec/support/crud_tests/write/updateMany-collation.yml
mongo-2.4.1 spec/support/crud_tests/write/updateMany-collation.yml
mongo-2.4.0 spec/support/crud_tests/write/updateMany-collation.yml
mongo-2.4.0.rc1 spec/support/crud_tests/write/updateMany-collation.yml