[postmodern-devel] conditional query building

Jens Teich info at jensteich.de
Fri Aug 10 21:26:13 UTC 2007


> (postmodern:sql (:= 's 'tr))

=> "(s = tr)"


> (postmodern:sql (if t (:= 's 'tr)))

=> Error: Undefined operator := in form (:= (QUOTE S) (QUOTE TR)).


How do I make this work? I want to build more complex where clauses
using cl:if.

Jens



More information about the postmodern-devel mailing list