Sha256: 6b5b024773f66f8b8197b24963a5fd26bb45c7de9f4cec8e4a610acddae31ea1

Contents?: true

Size: 697 Bytes

Versions: 14

Compression:

Stored size: 697 Bytes

Contents

data:
    - {_id: 1, x: 'PING'}
minServerVersion: '3.4'
serverless: 'forbid'

tests:
    -
        description: "Count documents with collation"
        operation:
            name: countDocuments
            arguments:
                filter: { x: 'ping' }
                collation: { locale: 'en_US', strength: 2 } # https://mongodb.com/docs/manual/reference/collation/#collation-document

        outcome:
            result: 1
    -
        description: "Deprecated count with collation"
        operation:
            name: count
            arguments:
                filter: { x: 'ping' }
                collation: { locale: 'en_US', strength: 2 }

        outcome:
            result: 1

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
mongo-2.21.0 spec/spec_tests/data/crud/read/count-collation.yml
mongo-2.20.1 spec/spec_tests/data/crud/read/count-collation.yml
mogno-2.20.0 spec/spec_tests/data/crud/read/count-collation.yml
mogno-1.0.0 spec/spec_tests/data/crud/read/count-collation.yml
mongo-2.20.0 spec/spec_tests/data/crud/read/count-collation.yml
mongo-2.19.3 spec/spec_tests/data/crud/read/count-collation.yml
mongo-2.18.3 spec/spec_tests/data/crud/read/count-collation.yml
mongo-2.19.2 spec/spec_tests/data/crud/read/count-collation.yml
mongo-2.19.1 spec/spec_tests/data/crud/read/count-collation.yml
mongo-2.19.0 spec/spec_tests/data/crud/read/count-collation.yml
mongo-2.18.2 spec/spec_tests/data/crud/read/count-collation.yml
mongo-2.18.1 spec/spec_tests/data/crud/read/count-collation.yml
mongo-2.18.0 spec/spec_tests/data/crud/read/count-collation.yml
mongo-2.18.0.beta1 spec/spec_tests/data/crud/read/count-collation.yml