Sha256: eb5e99465c185587027f4334483f72b4a2396cc344c9b61490626abb1af7c8eb

Contents?: true

Size: 455 Bytes

Versions: 26

Compression:

Stored size: 455 Bytes

Contents

module Bmg
  module Sql
    module CrossJoin
      include Expr

      def join?
        true
      end

      def left
        self[1]
      end

      def right
        self[2]
      end

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

    end # module CrossJoin
  end # module Sql
end # module Bmg

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
bmg-0.17.2 lib/bmg/sql/nodes/cross_join.rb
bmg-0.16.7 lib/bmg/sql/nodes/cross_join.rb
bmg-0.17.1 lib/bmg/sql/nodes/cross_join.rb
bmg-0.17.0 lib/bmg/sql/nodes/cross_join.rb
bmg-0.16.6 lib/bmg/sql/nodes/cross_join.rb
bmg-0.16.5 lib/bmg/sql/nodes/cross_join.rb
bmg-0.16.4 lib/bmg/sql/nodes/cross_join.rb
bmg-0.16.3 lib/bmg/sql/nodes/cross_join.rb
bmg-0.16.2 lib/bmg/sql/nodes/cross_join.rb
bmg-0.16.1 lib/bmg/sql/nodes/cross_join.rb
bmg-0.16.0 lib/bmg/sql/nodes/cross_join.rb
bmg-0.16.0.pre.rc2 lib/bmg/sql/nodes/cross_join.rb
bmg-0.16.0.pre.rc1 lib/bmg/sql/nodes/cross_join.rb
bmg-0.15.0 lib/bmg/sql/nodes/cross_join.rb
bmg-0.14.6 lib/bmg/sql/nodes/cross_join.rb
bmg-0.14.5 lib/bmg/sql/nodes/cross_join.rb
bmg-0.14.4 lib/bmg/sql/nodes/cross_join.rb
bmg-0.14.3 lib/bmg/sql/nodes/cross_join.rb
bmg-0.14.2 lib/bmg/sql/nodes/cross_join.rb
bmg-0.14.1 lib/bmg/sql/nodes/cross_join.rb