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

Fix ambiguity in custom SQL conditions #1011

Merged
merged 1 commit into from
Jul 8, 2020
Merged

Fix ambiguity in custom SQL conditions #1011

merged 1 commit into from
Jul 8, 2020

Conversation

di72nn
Copy link
Member

@di72nn di72nn commented Jul 7, 2020

Fixes #970.
Turns out the exception is this: SQLiteException: ambiguous column name: _id (code 1 SQLITE_ERROR): , while compiling: SELECT ....
It works ok by itself, but when joins are added the column name becomes ambiguous.
Test case: filter article list by tag and search query.

@tcitworld tcitworld merged commit 32563cf into master Jul 8, 2020
@tcitworld tcitworld deleted the fix_query branch July 8, 2020 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SQLiteException
2 participants