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

config: disable or map operators #498

Open
woylie opened this issue Sep 12, 2024 · 0 comments
Open

config: disable or map operators #498

woylie opened this issue Sep 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@woylie
Copy link
Owner

woylie commented Sep 12, 2024

SQLite does not support the ilike operator. We want Flop to handle this properly during operator validation. There are a few different options:

  • add configuration to disable operators completely
  • add configuration to set the allowed operators per primitive ecto type
  • add configuration to map operators to other operators; this would allow you to map ilike and =~ to like
  • ?
@woylie woylie added the enhancement New feature or request label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant