Class: Parse::Constraint::NotInQueryConstraint
- Inherits:
-
Constraint
- Object
- Constraint
- Parse::Constraint::NotInQueryConstraint
- Defined in:
- lib/parse/query/constraints.rb
Overview
Equivalent to the $notInQuery Parse query operation. Useful if you want to
retrieve objects where a field contains an object that does not match another query.
This is the inverse of the InQueryConstraint.
q.where :field.excludes => query
q.where :post.excludes => Post.where(:image.exists => true
Instance Method Summary collapse
-
#excludes ⇒ NotInQueryConstraint
A registered method on a symbol to create the constraint.
-
#not_in_query ⇒ NotInQueryConstraint
Alias for #excludes.
Instance Method Details
#excludes ⇒ NotInQueryConstraint
A registered method on a symbol to create the constraint. Maps to Parse operator "$notInQuery".
|
|
# File 'lib/parse/query/constraints.rb', line 1712
|
#not_in_query ⇒ NotInQueryConstraint
Alias for #excludes
1721 |
# File 'lib/parse/query/constraints.rb', line 1721 constraint_keyword :$notInQuery |