Class: SQLParser::Statement::All

Inherits:
Node
  • Object
show all
Defined in:
lib/sql-parser/statement.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#accept, #to_sql

Constructor Details

#initialize(table = nil) ⇒ All

Returns a new instance of All.



158
159
160
# File 'lib/sql-parser/statement.rb', line 158

def initialize(table = nil)
  @table = table
end

Instance Attribute Details

#tableObject (readonly)

Returns the value of attribute table.



162
163
164
# File 'lib/sql-parser/statement.rb', line 162

def table
  @table
end