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, comparison_attrs, #eql?, #hash, #inspect, #lit, #sql_literal
Constructor Details
#initialize(table) ⇒ ColumnAll
Create an object with the given table
659 660 661 |
# File 'lib/sequel/sql.rb', line 659 def initialize(table) @table = table end |
Instance Attribute Details
#table ⇒ Object (readonly)
The table containing the columns being selected
656 657 658 |
# File 'lib/sequel/sql.rb', line 656 def table @table end |