Class: Sequel::SQL::ColumnAll

Inherits:
Expression show all
Defined in:
lib/sequel/sql.rb

Overview

Represents all columns in a given table, table.* in SQL

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Expression

#==, attr_reader, #clone, #eql?, #hash, inherited, #inspect

Constructor Details

#initialize(table) ⇒ ColumnAll

Create an object with the given table



1192
1193
1194
1195
# File 'lib/sequel/sql.rb', line 1192

def initialize(table)
  @table = table
  freeze
end

Instance Attribute Details

#tableObject (readonly)

The table containing the columns being selected



1189
1190
1191
# File 'lib/sequel/sql.rb', line 1189

def table
  @table
end