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

query.gd error in match_filter function #71

Open
Giobar97 opened this issue Sep 25, 2023 · 1 comment
Open

query.gd error in match_filter function #71

Giobar97 opened this issue Sep 25, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Giobar97
Copy link

Giobar97 commented Sep 25, 2023

It's not possible to send any database query containing the "In" function, receiving an "Invalid get index 'in' (on base: Dictionary)" error.

The problem is caused by line 171 of query.gd:
Filters.IN: filter_str = "in"
Which should instead be:
Filters.IN: filter_str = "In"

Line 90 should also be changed accordingly, from:
"eq", "neq", "lt", "gt", "lte", "gte", "like", "ilike", "Is", "in", "fts", "plfts", "phfts", "wfts":
to:
"eq", "neq", "lt", "gt", "lte", "gte", "like", "ilike", "Is", "In", "fts", "plfts", "phfts", "wfts":

The lowercase in is causing the issue.

@Giobar97 Giobar97 added the bug Something isn't working label Sep 25, 2023
@f-montanari
Copy link

Have you found issues with the other methods aswell? Or is it just the "In" method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants