Method: Parse::Query#|
- Defined in:
- lib/parse/query.rb
#|(other_query) ⇒ Query
Returns the combined query with an OR clause.
603 604 605 606 607 608 |
# File 'lib/parse/query.rb', line 603 def |(other_query) raise ArgumentError, "Parse queries must be of the same class #{@table}." unless @table == other_query.table copy_query = self.clone copy_query.or_where other_query.where copy_query end |