-
Notifications
You must be signed in to change notification settings - Fork 175
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
Cannot chain multiple ilike or filter with ilike #789
Comments
That's a Cloudflare error, maybe the service was down at the time you tried this. Try again and let me know the result. |
Please check if your project is paused in the Supabase dashboard. |
I am also getting those errors when using any kind of filtering (even on unchained fitlers), like:
One operation that works is |
The % in the built query is causing your error, as the % is used for url encoding. Use * instead. |
Yeah adding |
I finally got around to testing this out and cannot replicate the issue you are both facing. I also looked in the postgrest repo and notice there are tests to make sure these methods were tested correctly. Here is a video I created demonstrating that this is working in my codebase. Supabase_Filter_Like.mp4 |
@silentworks can you try chaining multiple ilikes as single ilike is working. I said multiple ilike chaining It is now working when I replace % with * |
@harshdeep-techstax Its the same results for me with either single of multiple chaining ilikes. supabase_filter_ilike_multiple.mp4 |
Unable to chain multiple ilike like this
supabase.table("products").select("*", count='exact').filter("name","ilike",f"%KitKat%").filter("category","ilike",f"%Candy Bar%").order(sort).limit(limit).execute()
Getting error like
The text was updated successfully, but these errors were encountered: