module Bmg::Sql::WithExp

Constants

WITH

Public Instance Methods

select_exp() click to toggle source
# File lib/bmg/sql/nodes/with_exp.rb, line 17
def select_exp
  last
end
to_sql(buffer, dialect) click to toggle source

to_xxx

# File lib/bmg/sql/nodes/with_exp.rb, line 42
def to_sql(buffer, dialect)
  buffer << WITH << SPACE
  self[1].to_sql(buffer, dialect)
  buffer << SPACE
  self[2].to_sql(buffer, dialect, false)
  buffer
end
with_exp?() click to toggle source
# File lib/bmg/sql/nodes/with_exp.rb, line 9
def with_exp?
  true
end
with_spec() click to toggle source
# File lib/bmg/sql/nodes/with_exp.rb, line 13
def with_spec
  self[1]
end