-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
eq adding Filters.EQ istead of eq #190
Comments
is there anyway around this? |
Was struggling with this as well. |
I could solve using the So if you try with |
Hey! Just tested @espinozajp 's query with Python3.11 and it seems to work - going to close now but feel free to report back if there are issues. Thanks! |
Describe the bug
On python 3.11 using eq is adding
column_name=Filters.EQ
to the query string instead ofcolumn_name=eq
causing the error postgrest.exceptions.APIError: {'code': 'PGRST104', 'details': 'Failed to parse [("column_name","Filters.EQ.1")]', 'hint': None, 'message':'Unexpected param or filter missing operator'}
To Reproduce
Steps to reproduce the behavior:
supabase.table("table1").select("column1").eq("column2", 1).order("id", desc=True ).limit(1).single().execute()
database/table1?select=column1&column2=Filters.EQ.1&order=id.desc&limit=1 | python-httpx/0.23.0
'Unexpected param or filter missing operator'}
Expected behavior
query should should be
database/table1?select=column1&column2=eq.1&order=id.desc&limit=1 | python-httpx/0.23.0
The text was updated successfully, but these errors were encountered: