Class: SmqlToAR::Or
- Inherits:
-
SubBuilder
- Object
- Array
- SubBuilder
- SmqlToAR::Or
- 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, #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
286 287 288 |
# File 'lib/smql_to_ar/query_builder.rb', line 286 def build_where indent = nil collect_build_where( indent).join " OR\n"+"\t"*(indent||0) end |