postgrest-py
postgrest-py copied to clipboard
Foreign tables filtering issue
trafficstars
When filtering on a foreign table column, the function sanitize_param adds extra quotes if the param has restricted characters, this breaks and throws an error.
'foreign_table.col1' -> sanitize_param -> '"foreign_table.col1"'
I checked, by removing the extra quotes, the filter works as expected. sanitize_param is used twice => filter() and in_().
What do you suggest?
Duplicate of supabase-community/postgrest-py#189; we'll get to fixing this soon. Thanks for the report!
Closing in favour of tracking on #189