Class: SmqlToAR::And

Inherits:
SubBuilder show all
Defined in:
lib/smql_to_ar/query_builder.rb

Instance Attribute Summary

Attributes inherited from SubBuilder

#_where, #parent

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

#defaultObject



279
# File 'lib/smql_to_ar/query_builder.rb', line 279

def default; SmqlToAR::Or; end