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, #eql?, #hash, inherited, #inspect, #lit, #sql_literal

Constructor Details

#initialize(table) ⇒ ColumnAll

Create an object with the given table



1207
1208
1209
# File 'lib/sequel/sql.rb', line 1207

def initialize(table)
  @table = table
end

Instance Attribute Details

#tableObject (readonly)

The table containing the columns being selected



1204
1205
1206
# File 'lib/sequel/sql.rb', line 1204

def table
  @table
end