Method: Sequel::Dataset::PlaceholderLiteralizer.loader

Defined in:
lib/sequel/dataset/placeholder_literalizer.rb

.loader(dataset, &block) ⇒ Object

Create a PlaceholderLiteralizer by yielding a Recorder and dataset to the given block, recording the offsets at which the recorders arguments are used in the query.

[View source]

147
148
149
# File 'lib/sequel/dataset/placeholder_literalizer.rb', line 147

def self.loader(dataset, &block)
  Recorder.new.loader(self, dataset, &block)
end