Sha256: 3a6027ab4ff7906be96c6f5a3fdfa0b9537dd69df1173dfa99adbfec6cc6824d
Contents?: true
Size: 398 Bytes
Versions: 17
Compression:
Stored size: 398 Bytes
Contents
module RecordFilter class GroupBy # :nodoc: all include ColumnParser attr_reader :column, :table def initialize(column, table) @column, @table = column, table end def to_sql column, table = parse_column_in_table(@column, @table) if (table.has_column(column)) "#{table.table_alias}.#{column}" else column end end end end
Version data entries
17 entries across 17 versions & 2 rubygems