Class: Sequel::SQL::ColumnAll
- Inherits:
-
Expression
- Object
- Expression
- Sequel::SQL::ColumnAll
- Defined in:
- lib/sequel/sql.rb
Overview
Represents all columns in a given table, table.* in SQL
Instance Attribute Summary collapse
-
#table ⇒ Object
readonly
The table containing the columns being selected.
Instance Method Summary collapse
-
#initialize(table) ⇒ ColumnAll
constructor
Create an object with the given table.
Methods inherited from Expression
#==, attr_reader, #clone, #eql?, #hash, inherited, #inspect
Constructor Details
#initialize(table) ⇒ ColumnAll
Create an object with the given table
1256 1257 1258 1259 |
# File 'lib/sequel/sql.rb', line 1256 def initialize(table) @table = table freeze end |
Instance Attribute Details
#table ⇒ Object (readonly)
The table containing the columns being selected
1253 1254 1255 |
# File 'lib/sequel/sql.rb', line 1253 def table @table end |