Class: Parse::Constraint::NotEqualConstraint

Inherits:
Constraint
  • Object
show all
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 Method Summary collapse

Instance Method Details

#neNotEqualConstraint

Alias for #not.

Returns:



271
# File 'lib/parse/query/constraints.rb', line 271

constraint_keyword :$ne

#notNotEqualConstraint

A registered method on a symbol to create the constraint. Maps to Parse operator "$ne".

Examples:

q.where :field.not => value

Returns:



# File 'lib/parse/query/constraints.rb', line 262