Take the 2-minute tour ×

When using java.jdbc in clojure is it possible to use delete-rows with a complex WHERE statement. The example is

(delete-rows :blogs ["id=?" id])

and I want something like this:

(delete-rows :blogs ["id=?" id "user_id=?" user_id])
share|improve this question

1 Answer 1

up vote 3 down vote accepted
(delete-rows :blogs ["id=? and user_id=?" id user_id])
share|improve this answer
thanks, I should have read the API more accurately –  Sergey Jun 11 '12 at 3:49

Your Answer


