A new feature that execute sql by using supabase-py #23841
Unanswered
justino2m
asked this question in
Feature Requests
Replies: 1 comment 6 replies
-
For these instance you should use a PostgreSQL function along with |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I attempted to utilize the Supabase-py query builder for my application, but it did not provide enough functionality for my query. Specifically, it lacked support for complex where clauses. I required the ability to implement multiple and/or combined conditions, which I was unable to achieve using Supabase-py. As a result, I have decided to execute SQL queries directly. Is there a solution available to execute SQL queries directly instead?
For example,
select * from tbl_name where col1=1 and (col2=2 or col2=1 and flag=1)
supabase-py can't implement this query
I tried to use .or_, .filter functions
Besides this example, there are complex SQL queries that are required in the application.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions