Class: GoogleDataSource::DataSource::Sql::GroupByClause
- Inherits:
-
WithHelpers
- Object
- WithHelpers
- GoogleDataSource::DataSource::Sql::GroupByClause
- Defined in:
- lib/google_data_source/sql/models.rb
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
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 |