Sha256: 3bbe3285c3cf43f53500262125c18f089ae9993b03a597fcd31dea51568f5672
Contents?: true
Size: 447 Bytes
Versions: 1
Compression:
Stored size: 447 Bytes
Contents
# encoding: utf-8 module Piglet module Relation class Distinct # :nodoc: include Relation def initialize(relation, interpreter, options={}) options ||= {} @sources, @interpreter, @parallel = [relation], interpreter, options[:parallel] end def to_s str = "DISTINCT #{@sources.first.alias}" str << " PARALLEL #{@parallel}" if @parallel str end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
piglet-0.3.0 | lib/piglet/relation/distinct.rb |