Method: QuerySyntax::Query#where
- Defined in:
- lib/query_syntax/query.rb
#where(args = {}) ⇒ Object
Spawn a new scopes
29 30 31 32 |
# File 'lib/query_syntax/query.rb', line 29 def where(args={}) scope = spawn("AND") scope.where!(args) if args end |