Skip to content
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

Update record failed AttributeError: 'RequestBuilder' object has no attribute 'eq' #12

Closed
pvbhanuteja opened this issue Apr 1, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@pvbhanuteja
Copy link

Bug report

Tried installing locally looks there is some issue postgrest-py

When I tried updating a record it's throwing up this error

AttributeError: 'RequestBuilder' object has no attribute 'eq'

@pvbhanuteja pvbhanuteja added the bug Something isn't working label Apr 1, 2021
@taloglu
Copy link

taloglu commented Apr 8, 2021

I experience the same issue.

@abreumatheus
Copy link

It can be a syntax error, since this project is not yet fully documented.

This is the correct syntax for using eq and other operations:
supabase_client.from_("table_name").select("*").eq("column_name", "value").execute()
or
supabase_client.table("table_name").select("*").eq("column_name", "value").execute()

@J0
Copy link
Collaborator

J0 commented Oct 30, 2021

Hey @pvbhanuteja,

Thanks for reporting this issue! We tried it and it seems like
supabase_client.table("table_name").select("*").eq("column_name", "value").execute()
is functioning. We'll be closing this for now but let us know if you run into any further issues.

image

@J0 J0 closed this as completed Oct 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants