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.



86
87
88
89
# File 'lib/sequel/ast_transformer.rb', line 86

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