Sha256: a19748cab54666d4c895fea2368ccffc03606a89807fa74808c955570fb43ed9

Contents?: true

Size: 458 Bytes

Versions: 5

Compression:

Stored size: 458 Bytes

Contents

module Alf
  module Sql
    class Processor
      class Distinct < Processor

        def on_set_quantified(sexpr)
          sexpr.with_update(1, builder.distinct)
        end
        alias :on_union      :on_set_quantified
        alias :on_except     :on_set_quantified
        alias :on_intersect  :on_set_quantified
        alias :on_select_exp :on_set_quantified

      end # class Distinct
    end # class Processor
  end # module Sql
end # module Alf

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-sql-0.16.3 lib/alf/sql/processor/distinct.rb
alf-sql-0.16.2 lib/alf/sql/processor/distinct.rb
alf-sql-0.16.1 lib/alf/sql/processor/distinct.rb
alf-sql-0.16.0 lib/alf/sql/processor/distinct.rb
alf-sql-0.15.0 lib/alf/sql/processor/distinct.rb