Class: Bmg::Sql::Processor::Star

Inherits:
Processor
  • Object
show all
Defined in:
lib/bmg/sql/processor/star.rb

Instance Method Summary collapse

Instance Method Details

#on_select_exp(sexpr) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/bmg/sql/processor/star.rb', line 6

def on_select_exp(sexpr)
  if sexpr.from_clause
    sexpr.with_update(:select_list, builder.select_star)
  else
    sexpr
  end
end