Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostgreSQL ~* operator #63

Open
asarch opened this issue Jan 11, 2022 · 1 comment
Open

PostgreSQL ~* operator #63

asarch opened this issue Jan 11, 2022 · 1 comment

Comments

@asarch
Copy link

asarch commented Jan 11, 2022

How would you implement that operator? E.g:

select * from foo where name ~* 'baz';
@fukamachi
Copy link
Owner

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'")))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants