Class: Sequel::Qualifier
- Inherits:
-
ASTTransformer
- Object
- ASTTransformer
- Sequel::Qualifier
- Defined in:
- lib/sequel/ast_transformer.rb
Overview
Handles qualifying existing datasets, so that unqualified columns in the dataset are qualified with a given table name.
Instance Method Summary collapse
-
#initialize(ds, table) ⇒ Qualifier
constructor
Store the dataset to use as the basis for qualification, and the table used to qualify unqualified columns.
Methods inherited from ASTTransformer
Constructor Details
#initialize(ds, table) ⇒ Qualifier
Store the dataset to use as the basis for qualification, and the table used to qualify unqualified columns.
84 85 86 87 |
# File 'lib/sequel/ast_transformer.rb', line 84 def initialize(ds, table) @ds = ds @table = table end |