3
Enhancing Developer Experience with Client-side Raw SQL Queries
Source: supabase/supabase#17474 · opened by @HTMHell
Hello, I wanted to bring up an idea that I believe could significantly improve our development experience with Supabase: the ability to run raw SQL queries directly from the client. Now, I understand that we already have options like views, RPC, and edge functions to execute queries. However, it adds unnecessary complexity and work. Instead of creating a view / RPC / endpoint, you could simply query the data you need. Of course, it's essential to address the security aspect associated with executing raw SQL queries from the client. To mitigate potential risks, I propose starting with a limited scope, allowing only SELECT queries initially. By doing so, we can ensure that we prioritize security while still reaping the benefits of this feature. Some practical examples of how running raw SQL queries from the client can empower us to achieve things we currently cannot: • sum • group by • distinct • coalesce • where exists(…) • c…
No pledges yet. Be the first to back this.
Comments
Similar requests
Enhanced SQL Query Management for Supabase CLI: A Proposal for Query File and Folder Support
4 votes · 0 comments
Redesign of the Queries tab
4 votes · 0 comments
Expose API method/interface to execute raw SQL Query
6 votes · 0 comments
Provide API Endpoint for Natural Language to SQL Query Execution for Frontend Developers
1 vote · 0 comments
Support for MongoDB / other databases.
6 votes · 0 comments
No comments yet.