Class: GoogleDataSource::DataSource::Sql::GroupByClause

Inherits:
WithHelpers
  • Object
show all
Defined in:
lib/google_data_source/sql/models.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject



225
226
227
228
229
230
231
# File 'lib/google_data_source/sql/models.rb', line 225

def to_s
  result = exprs.join(', ')
  unless having.nil?
    result << " having #{having}"
  end
  result
end