-
Notifications
You must be signed in to change notification settings - Fork 42
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
Fix SQLite3 support by checking the Ecto adapter name #443
base: develop
Are you sure you want to change the base?
Conversation
…g to not depend on the module in the project
Another thing I was thinking over my lunch break was that maybe we just want to do |
If distinct is the only issue, I think we should try to remove the |
@Flo0807 I also fixed search locally, the problem is that SQLite doesn't support ilike, so it's a bit more work. Or maybe we could pass an option to make it call like instead of ilike |
I would opt for more work rather than changing the behavior based on the database. |
@Flo0807 I agree I'll update the PR with a better proposal |
I'm evaluating Backpex and get this same error for MySQL. |
I think only remove I can work in this fixes for SQLite and MySQL. @Flo0807 can you give some directions? |
The limitation of the SQLite3 Adapter section says
So my idea is to replace Some more notes:
|
To be specific, it fixes the
:index
and:show
actions that were broken with the following error:Notes
to_string
to not depend on the module in the project, this is why I need to use the fully qualified name as well.MySQL
needs similar handling.distinct
in the project does this fix all SQLite3 issues?