Sha256: b10f7a908aabf8cbe832dbf75f6c63295411c1ad7d387ebb92e5d063ed0d3555

Contents?: true

Size: 579 Bytes

Versions: 50

Compression:

Stored size: 579 Bytes

Contents

- name: multiple operators on same field - finds
  document:
    count: 10
  query:
    count:
      $gte: 9
      $lte: 11
  matches: true

- name: multiple operators on same field - does not find
  document:
    count: 10
  query:
    count:
      $gte: 2
      $lte: 9
  matches: false

- name: multiple operators on same field which are satisfied by different array elements - finds
  document:
    teachers:
      - grade: 5
      - grade: 10
  query:
    teachers.grade:
      $gte: 7
      $lte: 9
  matches: true
  pending: 'https://jira.mongodb.org/browse/MONGOID-4911'

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
mongoid-8.0.10 spec/integration/matcher_operator_data/multiple.yml
mongoid-9.0.6 spec/integration/matcher_operator_data/multiple.yml
mongoid-8.1.10 spec/integration/matcher_operator_data/multiple.yml
mongoid-9.0.5 spec/integration/matcher_operator_data/multiple.yml
mongoid-8.1.9 spec/integration/matcher_operator_data/multiple.yml
mongoid-8.0.9 spec/integration/matcher_operator_data/multiple.yml
mongoid-9.0.4 spec/integration/matcher_operator_data/multiple.yml
mongoid-8.1.8 spec/integration/matcher_operator_data/multiple.yml
mongoid-8.1.7 spec/integration/matcher_operator_data/multiple.yml
mongoid-9.0.3 spec/integration/matcher_operator_data/multiple.yml
mongoid-8.1.6 spec/integration/matcher_operator_data/multiple.yml
mongoid-9.0.2 spec/integration/matcher_operator_data/multiple.yml
mongoid-9.0.1 spec/integration/matcher_operator_data/multiple.yml
mongoid-9.0.0 spec/integration/matcher_operator_data/multiple.yml
mongoid-8.0.8 spec/integration/matcher_operator_data/multiple.yml
mongoid-8.1.5 spec/integration/matcher_operator_data/multiple.yml
mongoid-8.1.4 spec/integration/matcher_operator_data/multiple.yml
mongoid-8.0.7 spec/integration/matcher_operator_data/multiple.yml
mongoid-8.1.3 spec/integration/matcher_operator_data/multiple.yml
mongoid-8.1.2 spec/integration/matcher_operator_data/multiple.yml