[postmodern-devel] <> operator

Andy Chambers achambers at mcna.net
Fri Nov 18 17:28:31 UTC 2011


On Fri, Nov 18, 2011 at 12:21 PM, Zach Beane <xach at xach.com> wrote:
> Out of SQL habit I used <> for inequality yesterday and got this error:
>
>  function __(integer, integer) does not exist
>
> Should I just stick with !=?

Don't have a repl to hand right now.  Do angle brackets need to be escaped?

Try (sql-compile '(:\<\> "foo" "bar"))

BTW, I found your guide on migrating from mysql to postgres very
helpful.  I'll be able to send a few more gotchas if you're interested
in updating it.

Cheers,
Andy




More information about the postmodern-devel mailing list