Sha256: 9c2f79c1dc72e629db07f1319ae3e9e9147a8e58d4aaedd83f92f10a80cc7f5f

Contents?: true

Size: 489 Bytes

Versions: 39

Compression:

Stored size: 489 Bytes

Contents

module Bmg
  module Sql
    module SelectStar
      include Expr

      STAR = "*".freeze

      def desaliaser(*args, &bl)
        ->(a){
          Predicate::Grammar.sexpr [ :qualified_identifier, last[1], a.to_s ]
        }
      end

      def has_computed_attributes?
        false
      end

      def to_sql(buffer, dialect)
        last.to_sql(buffer, dialect)
        buffer << DOT << STAR
        buffer
      end

    end # module SelectStar
  end # module Sql
end # module Bmg

Version data entries

39 entries across 39 versions & 1 rubygems

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