# File lib/criteria/sql.rb, line 189 def _mkselect(s, *args) # SELECT and column clause s << "SELECT " s << args.map { |s| if s.is_a?(SQLTable); "#{s}.*" else s.to_s end }.join(", ") s << "*" unless args.size > 0 end