Class: SmqlToAR::And
- Inherits:
-
SubBuilder
- Object
- Array
- SubBuilder
- SmqlToAR::And
- Defined in:
- lib/smql_to_ar/query_builder.rb
Instance Attribute Summary
Attributes inherited from SubBuilder
Instance Method Summary collapse
Methods inherited from SubBuilder
#collect_build_where, #default_new, #initialize, #inspect, #new, #optimize!, #type_correction!
Constructor Details
This class inherits a constructor from SmqlToAR::SubBuilder
Instance Method Details
#build_where(indent = nil) ⇒ Object
280 281 282 |
# File 'lib/smql_to_ar/query_builder.rb', line 280 def build_where indent = nil collect_build_where( indent).join " AND\n"+"\t"*(indent||0) end |