Sha256: 3b8c521c4a133ab9b209ca5aca5c3af64c574e2e518be4f9d24d5b413d946045

Contents?: true

Size: 315 Bytes

Versions: 66

Compression:

Stored size: 315 Bytes

Contents

module Bmg
  module Sql
    module SetQuantifier
      include Expr

      def all?
        last == "all"
      end

      def distinct?
        last == "distinct"
      end

      def to_sql(buffer, dialect)
        buffer << self.last
      end

    end # module SetQuantifier
  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/nodes/set_quantifier.rb
bmg-0.23.2 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.23.1 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.23.0 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.21.5 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.21.4 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.20.5 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.19.3 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.21.3 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.21.2 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.21.0 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.20.4 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.20.2 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.20.1 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.20.0 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.19.2 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.19.1 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.19.0 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.18.15 lib/bmg/sql/nodes/set_quantifier.rb
bmg-0.18.14 lib/bmg/sql/nodes/set_quantifier.rb