fukamachi/sxql

PostgreSQL ~* operator

asarch opened this issue · 1 comments

How would you implement that operator? E.g:

select * from foo where name ~* 'baz';

Unfortunately, not supported yet.

To add such an infix operator, add a line to operator.lisp.

Or, :raw is available to make it work without any changes:

(select :* (from :foo) (where (:raw "name ~* 'baz'")))