-
Notifications
You must be signed in to change notification settings - Fork 177
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select request aren't updating #32
Comments
I don't think you can execute a SQL query directly. This is due to security reasons, mainly, to prevent SQL Injection. I haven't tried it but I think you might want to do the following: client.table("signups").select('*').eq('phone_number', f'{phone_number}').execute() |
@ianrtracey did I solved your doubts?? |
@J0 this should be closed due to inactivity and it was an issue of the user wrongly using the api. |
Hey @ianrtracey, We are closing this due to inactivity, please let us know if you're still facing any issues! Thanks! |
Bug report
Describe the bug
Hey Team 馃憢
I am experiencing a strange issue where I am getting stale results when using the
.select
SQL function.I've changed the phone number several times but I still get back results despite certain phone numbers not existing. When I copy and paste the query into the interactive Supbase SQL console in the browser I get a different result than the client.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
New result r2 should be updated based on the new query
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: