Sha256: 2921346820b1febbb253e258e40d2002855e8d7bff74475216c735bb6735ff18

Contents?: true

Size: 458 Bytes

Versions: 66

Compression:

Stored size: 458 Bytes

Contents

module Bmg
  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 Bmg

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
bmg-0.23.3 lib/bmg/sql/processor/distinct.rb
bmg-0.23.2 lib/bmg/sql/processor/distinct.rb
bmg-0.23.1 lib/bmg/sql/processor/distinct.rb
bmg-0.23.0 lib/bmg/sql/processor/distinct.rb
bmg-0.21.5 lib/bmg/sql/processor/distinct.rb
bmg-0.21.4 lib/bmg/sql/processor/distinct.rb
bmg-0.20.5 lib/bmg/sql/processor/distinct.rb
bmg-0.19.3 lib/bmg/sql/processor/distinct.rb
bmg-0.21.3 lib/bmg/sql/processor/distinct.rb
bmg-0.21.2 lib/bmg/sql/processor/distinct.rb
bmg-0.21.0 lib/bmg/sql/processor/distinct.rb
bmg-0.20.4 lib/bmg/sql/processor/distinct.rb
bmg-0.20.2 lib/bmg/sql/processor/distinct.rb
bmg-0.20.1 lib/bmg/sql/processor/distinct.rb
bmg-0.20.0 lib/bmg/sql/processor/distinct.rb
bmg-0.19.2 lib/bmg/sql/processor/distinct.rb
bmg-0.19.1 lib/bmg/sql/processor/distinct.rb
bmg-0.19.0 lib/bmg/sql/processor/distinct.rb
bmg-0.18.15 lib/bmg/sql/processor/distinct.rb
bmg-0.18.14 lib/bmg/sql/processor/distinct.rb