#398 || is variadic (by default)

This commit is contained in:
Sean Corfield 2022-03-26 08:33:05 -07:00
parent 17319cdd26
commit c4efcc0cad

View file

@ -39,4 +39,6 @@
(sql/format {:select [[[sut/atat :a :b] :x]]}))))
(testing "variadic ops"
(is (= ["SELECT a -> b -> c AS x"]
(sql/format {:select [[[:-> :a :b :c] :x]]})))))
(sql/format {:select [[[:-> :a :b :c] :x]]})))
(is (= ["SELECT a || b || c AS x"]
(sql/format {:select [[[:|| :a :b :c] :x]]})))))