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.



84
85
86
87
# File 'lib/sequel/ast_transformer.rb', line 84

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