spec/helpers/ast.rb in alf-sql-0.15.0 vs spec/helpers/ast.rb in alf-sql-0.16.0
- old
+ new
@@ -26,10 +26,10 @@
def intersect(left = select_all, right = select_all_t2)
sexpr [:intersect, distinct, left, right]
end
- def select_is_table_dee(where)
+ def select_is_table_dee(where = nil)
exists = Alf::Predicate::Grammar.sexpr([:exists, where])
sexpr [:select_exp, all,
[:select_list,
[:select_item,
[:literal, true],