-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Fiiltering through join values #202
Comments
Moving to postgrest-py - will have to take a closer look when a slot frees up |
Hello! I found this same issue today when porting (supabase/supabase#12532) one of the official examples from the js client (filtering through foreign tables). This is the behavior I saw:
It seems like it's adding extra " into the request that the postgrest docs don't show. In fact if I manually add the request parameters, it works:
Seeing this I dag through the code and found where the filtering parameters are sanitized https://github.com/supabase-community/postgrest-py/blob/ea579fd782e7d4ef13820356c8cc7fba0a4bec86/postgrest/base_request_builder.py#L228 This function adds double quotes to the filtering if a Why is this functionality applied here? It seems to be interfering with the request. Let me know what you think @J0, I'd be happy to add tests for these cases but I'm not sure if this |
As I understand, the Slightly more context can be found here If you have the bandwidth, feel free to add tests and remove '.' from being escaped. |
@J0 I think this is closed, right? 😃 |
Yup @guillego, thanks for the fix! |
I have a question similar to this
I was wondering if my following code is wrong, or it is not possible atm
Error message
Originally posted by @liang799 in https://github.com/supabase-community/supabase-py/discussions/263
The text was updated successfully, but these errors were encountered: