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

Constructor Details

#initialize(table) ⇒ ColumnAll

Create an object with the given table



1003
1004
1005
# File 'lib/sequel/sql.rb', line 1003

def initialize(table)
  @table = table
end

Instance Attribute Details

#tableObject (readonly)

The table containing the columns being selected



1000
1001
1002
# File 'lib/sequel/sql.rb', line 1000

def table
  @table
end