Method: ActiveForce::Query#to_s
- Defined in:
- lib/active_force/query.rb
#to_s ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/active_force/query.rb', line 20 def to_s <<-SOQL.gsub(/\s+/, " ").strip SELECT #{ build_select } FROM #{ @table } #{ build_where } #{ build_order } #{ build_limit } #{ build_offset } SOQL end |