module Bmg::Sql::FuncCall

Public Instance Methods

func_args() click to toggle source
# File lib/bmg/sql/nodes/func_call.rb, line 10
def func_args
  self[2..-1]
end
func_name() click to toggle source
# File lib/bmg/sql/nodes/func_call.rb, line 6
def func_name
  self[1]
end
is_computed?() click to toggle source
# File lib/bmg/sql/nodes/func_call.rb, line 14
def is_computed?
  true
end
to_sql(buffer, dialect) click to toggle source
# File lib/bmg/sql/nodes/func_call.rb, line 18
def to_sql(buffer, dialect)
  buffer << summary_name.upcase << "("
  buffer << func_args.map{|fa| fa.to_sql("", dialect) }.join(', ')
  buffer << ")"
  buffer
end