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.7.2 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.8.0.rc0 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.7.1 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.7.0 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.7.0.rc0 spec/spec_tests/data/crud/write/updateMany-collation.yml
mongo-2.6.4 spec/support/crud_tests/write/updateMany-collation.yml
mongo-2.6.2 spec/support/crud_tests/write/updateMany-collation.yml
mongo-2.6.1 spec/support/crud_tests/write/updateMany-collation.yml
mongo-2.6.0 spec/support/crud_tests/write/updateMany-collation.yml
mongo-2.5.3 spec/support/crud_tests/write/updateMany-collation.yml
mongo-2.5.2 spec/support/crud_tests/write/updateMany-collation.yml
tdiary-5.0.8 vendor/bundle/gems/mongo-2.5.1/spec/support/crud_tests/write/updateMany-collation.yml
mongo-2.5.1 spec/support/crud_tests/write/updateMany-collation.yml
mongo-2.5.0 spec/support/crud_tests/write/updateMany-collation.yml
mongo-2.5.0.beta spec/support/crud_tests/write/updateMany-collation.yml
mongo-2.4.3 spec/support/crud_tests/write/updateMany-collation.yml
tdiary-5.0.5 vendor/bundle/gems/mongo-2.4.2/spec/support/crud_tests/write/updateMany-collation.yml
mongo-2.4.2 spec/support/crud_tests/write/updateMany-collation.yml