Method: Bmg::Sql::WithSpec#to_sql
- Defined in:
- lib/bmg/sql/nodes/with_spec.rb
#to_sql(buffer, dialect) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/bmg/sql/nodes/with_spec.rb', line 6 def to_sql(buffer, dialect) each_child do |child,index| buffer << COMMA << SPACE unless index==0 child.to_sql(buffer, dialect) end buffer end |