Sha256: 73e221a37888e52e19ca2c6e2a5db3d2a124813002c2c85f20cba0e3441a6836
Contents?: true
Size: 467 Bytes
Versions: 66
Compression:
Stored size: 467 Bytes
Contents
module Bmg module Sql module SubqueryAs include Expr def left self[1] end alias :subquery :left def right self[2] end def as_name self[2].last end def to_sql(buffer, dialect) left.to_sql(buffer, dialect) buffer << SPACE << AS << SPACE right.to_sql(buffer, dialect) buffer end end # module SubqueryAs end # module Sql end # module Bmg
Version data entries
66 entries across 66 versions & 1 rubygems