Class: Parse::Constraint::NotEqualConstraint
- Inherits:
- Parse::Constraint
- Object
- Parse::Constraint
- Parse::Constraint::NotEqualConstraint
- Defined in:
- lib/parse/query/constraints.rb
Overview
Equivalent to the `$ne` Parse query operation. Where a particular field is not equal to value.
q.where :field.not => value
Instance Attribute Summary
Attributes inherited from Parse::Constraint
#operand, #operation, #operator, #value
Instance Method Summary collapse
- #ne ⇒ NotEqualConstraint
# Alias for #not.
- #not ⇒ NotEqualConstraint
A registered method on a symbol to create the constraint.
Methods inherited from Parse::Constraint
#as_json, #build, contraint_keyword, create, #formatted_value, formatted_value, #initialize, #key, #precedence, register, #to_s
Constructor Details
This class inherits a constructor from Parse::Constraint
Instance Method Details
#ne ⇒ NotEqualConstraint
# Alias for #not.
220 | # File 'lib/parse/query/constraints.rb', line 220 contraint_keyword :$ne |
#not ⇒ NotEqualConstraint
A registered method on a symbol to create the constraint. Maps to Parse operator “$ne”.
# File 'lib/parse/query/constraints.rb', line 211
|