Sha256: 372ec43d9dd23cc660e3a5f44e0373bdf99b65e5283e2d383ea5a962b59db03f

Contents?: true

Size: 355 Bytes

Versions: 36

Compression:

Stored size: 355 Bytes

Contents

- name: hash value - matches
  document:
    name: {first_name: "bob"}
  query:
    name:
      $type: 3
  matches: true

- name: array value - does not match
  document:
    name: [1]
  query:
    name:
      $type: 3
  matches: false

- name: existing field - does not match Object
  document:
    pi: 3
  query:
    pi:
      $type: 3
  matches: false

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
mongoid-9.0.4 spec/integration/matcher_operator_data/type_object.yml
mongoid-8.1.8 spec/integration/matcher_operator_data/type_object.yml
mongoid-8.1.7 spec/integration/matcher_operator_data/type_object.yml
mongoid-9.0.3 spec/integration/matcher_operator_data/type_object.yml
mongoid-8.1.6 spec/integration/matcher_operator_data/type_object.yml
mongoid-9.0.2 spec/integration/matcher_operator_data/type_object.yml
mongoid-9.0.1 spec/integration/matcher_operator_data/type_object.yml
mongoid-9.0.0 spec/integration/matcher_operator_data/type_object.yml
mongoid-8.0.8 spec/integration/matcher_operator_data/type_object.yml
mongoid-8.1.5 spec/integration/matcher_operator_data/type_object.yml
mongoid-8.1.4 spec/integration/matcher_operator_data/type_object.yml
mongoid-8.0.7 spec/integration/matcher_operator_data/type_object.yml
mongoid-8.1.3 spec/integration/matcher_operator_data/type_object.yml
mongoid-8.1.2 spec/integration/matcher_operator_data/type_object.yml
mongoid-8.0.6 spec/integration/matcher_operator_data/type_object.yml
mongoid-7.5.4 spec/integration/matcher_operator_data/type_object.yml
mongoid-8.1.1 spec/integration/matcher_operator_data/type_object.yml
mongoid-8.0.5 spec/integration/matcher_operator_data/type_object.yml
mongoid-8.1.0 spec/integration/matcher_operator_data/type_object.yml
mongoid-7.5.3 spec/integration/matcher_operator_data/type_object.yml