You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I'm not sure what's an efficient way to implement <get list that matches v>.
meksor
changed the title
500 Response When Triggering NotImplementedError
500 Response When Triggering Wildcard in List NotImplementedErrorJan 17, 2025
Which parses the list if values (i guess this only works for strings) and builds a complex sql query from the list.
The best way to build the query is probably by filtering out all entries containing wildcards and building a query like:
SELECT ... FROM table WHERE
column IN ("no wildcard", "simple name", "single model")
OR
column LIKE"wildcard %query"OR
column LIKE"Model %";
The error is thrown here:
ixmp4/ixmp4/db/filters.py
Line 363 in c243743
and should probably be a custom
Ixmp4Error
to produce a 404 response.The text was updated successfully, but these errors were encountered: