class Sequel::Qualifier

Handles qualifying existing datasets, so that unqualified columns in the dataset are qualified with a given table name.

Public Class Methods

new(table, unused=nil) click to toggle source

Set the table used to qualify unqualified columns

# File lib/sequel/ast_transformer.rb, line 93
def initialize(table, unused=nil)
  if unused
    # :nocov:
    Sequel::Deprecation.deprecate("Passing two arguments to Sequel::Qualifier.new", 'Pass only the second argument specifying the table used for qualification')
    @table = unused
    # :nocov:
  else
    @table = table
  end
end