Closed Licenser closed 12 years ago
restrict is deprecated, use where instead.
user> (cql/select (cql/table :tst) (cql/where (and (= :a 1) (= :b 2)))) SELECT tst.* FROM tst WHERE ((tst.a = 1) AND (tst.b = 2))
The core problem was that for some queries the only ay was to use restrict but I don't have the actual code any more since I buoil the query by hand now.
You're welcome to paste the query in here
The follwogin example
results in the query:
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.