Sha256: c93b2e2917f4b696b953b1433bb4343c6489c53cc905b0129d1017b9a8aed22e

Contents?: true

Size: 442 Bytes

Versions: 5

Compression:

Stored size: 442 Bytes

Contents

module Alf
  module Sql
    module CrossJoin
      include Expr

      def join?
        true
      end

      def left
        self[1]
      end

      def right
        self[2]
      end

      def to_sql(buffer = "")
        each_child do |child, index|
          buffer << COMMA << SPACE unless index == 0
          child.to_sql(buffer)
        end
        buffer
      end

    end # module CrossJoin
  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/nodes/cross_join.rb
alf-sql-0.16.2 lib/alf/sql/nodes/cross_join.rb
alf-sql-0.16.1 lib/alf/sql/nodes/cross_join.rb
alf-sql-0.16.0 lib/alf/sql/nodes/cross_join.rb
alf-sql-0.15.0 lib/alf/sql/nodes/cross_join.rb