Class: Parse::Constraint::LessThanConstraint
- Inherits:
-
Constraint
- Object
- Constraint
- Parse::Constraint::LessThanConstraint
- Defined in:
- lib/parse/query/constraints.rb
Overview
Equivalent to the $lt Parse query operation. The alias before is provided for readability.
q.where :field.lt => value
q.where :field.before => date
q.where :created_at.before => DateTime.now
Instance Method Summary collapse
-
#before ⇒ LessThanConstraint
Alias for #lt that provides better readability when constraining dates.
-
#less_than ⇒ LessThanConstraint
Alias for #lt.
-
#lt ⇒ LessThanConstraint
A registered method on a symbol to create the constraint.
Instance Method Details
#before ⇒ LessThanConstraint
Alias for #lt that provides better readability when constraining dates.
201 |
# File 'lib/parse/query/constraints.rb', line 201 constraint_keyword :$lt |
#lt ⇒ LessThanConstraint
A registered method on a symbol to create the constraint. Maps to Parse operator "$lt".
|
|
# File 'lib/parse/query/constraints.rb', line 188
|