Class: Sequel::Qualifier

Inherits:
ASTTransformer show all
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

Methods inherited from ASTTransformer

#transform

Constructor Details

#initialize(ds, table) ⇒ Qualifier

Store the dataset to use as the basis for qualification, and the table used to qualify unqualified columns.



94
95
96
97
# File 'lib/sequel/ast_transformer.rb', line 94

def initialize(ds, table)
  @ds = ds
  @table = table
end