LauJensen/clojureql — Issue #119: where and restrict cause problems:
Author: Licenser
Created: 2011-10-27 11:53:50+00:00
State: open

The follwogin example

(->
(cql/table 1 :t)
(cql/select
(cql/where (and
(cqlp/restrict "a = 1")
(cqlp/restrict "b = 2")))))

results in the query:

SELECT t.* FROM t WHERE a = 1b = 2

The hand is not recognized for some reason. And yes I know there is (= :a 1) this is just a simplified example of the error to reproduce.