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.
86 87 88 89 |
# File 'lib/sequel/ast_transformer.rb', line 86 def initialize(ds, table) @ds = ds @table = table end |