Closed dan-passaro closed 1 year ago
How about this, though it's a little bit lengthy?
* (sxql:yield (sxql:where (:< (:cast (:as :amount :numeric)) 0)))
"WHERE (CAST(amount AS numeric) < ?)"
(0)
Awesome, this works perfectly! Thanks for your help, and for so many of your awesome CL libraries!
I have this sxql statement in one of my projects:
I tried a few different ways but I can't figure out how to eliminate the :RAW use in this snippet. Is it possible and I'm not able to figure it out?