Sha256: 5fb05bc309afd21143f33773b2d6bbfcdd6b71adad5602da4141f70d7265e675

Contents?: true

Size: 820 Bytes

Versions: 58

Compression:

Stored size: 820 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
                upsertedCount: 0
            collection:
                data:
                    - {_id: 1, x: 11}
                    - {_id: 2, x: 'pong'}
                    - {_id: 3, x: 'pong'}

Version data entries

58 entries across 58 versions & 2 rubygems

Version Path
mongo-2.13.3 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.14.1 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.15.1 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.15.0 spec/spec_tests/data/crud/write/updateMany-collation.yml
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/mongo-2.8.0/spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.15.0.alpha spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.13.2 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.14.0 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.14.0.rc1 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.13.1 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.12.4 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.11.6 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.13.0 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.12.3 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.13.0.rc1 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.12.2 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.10.5 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.11.5 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.13.0.beta1 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.12.1 spec/spec_tests/data/crud/write/updateMany-collation.yml