Sha256: 581258393c0ee3494bae0849d174bd70b537e0fa02c45b8890bff5b31c1a47cc

Contents?: true

Size: 1012 Bytes

Versions: 23

Compression:

Stored size: 1012 Bytes

Contents

data:
  - { _id: 1, x: 11 }
  - { _id: 2, x: 22 }
  - { _id: 3, x: 33 }

collection_name: &collection_name 'DeleteMany_hint'

tests:
  -
    description: "Unacknowledged deleteMany with hint string fails with client-side error"
    operations:
      -
        object: collection
        collectionOptions: &collection_options
          writeConcern: { w: 0 }
        name: deleteMany
        arguments:
          filter: &filter { _id: { $gt: 1 } }
          hint: "_id_"
        error: true
    expectations: []
    outcome: &outcome
      collection:
        data:
          - { _id: 1, x: 11 }
          - { _id: 2, x: 22 }
          - { _id: 3, x: 33 }
  -
    description: "Unacknowledged deleteMany with hint document fails with client-side error"
    operations:
      -
        object: collection
        collectionOptions: *collection_options
        name: deleteMany
        arguments:
          filter: *filter
          hint: { _id: 1 }
        error: true
    expectations: []
    outcome: *outcome

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
mongo-2.16.4 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.17.4 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.17.3 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.17.2 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.16.3 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.16.2 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.17.1 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.16.1 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.17.0 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.16.0 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.13.3 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.14.1 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.15.1 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.16.0.alpha1 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.15.0 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.15.0.alpha spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.13.2 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.14.0 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.14.0.rc1 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
mongo-2.13.1 spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml