Method: Bmg::Sql::Processor::Requalify#on_where_clause

Defined in:
lib/bmg/sql/processor/requalify.rb

#on_where_clause(sexpr) ⇒ Object



21
22
23
24
# File 'lib/bmg/sql/processor/requalify.rb', line 21

def on_where_clause(sexpr)
  pred = Predicate::Grammar.sexpr(apply(sexpr.predicate))
  sexpr([:where_clause, pred])
end