这是indexloc提供的服务,不要输入任何密码
Skip to content

query.gd error in match_filter function #71

@Giobar97

Description

@Giobar97

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions