Provide API Endpoint for Natural Language to SQL Query Execution for Frontend Developers #46835
Unanswered
Aakilahamed006
asked this question in
Feature Requests
Replies: 1 comment 1 reply
-
|
There are apps out there that are doing similar things btw, https://supabase.com/partners/integrations/dreambase this is one example that comes to mind but i'm sure there are others. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Modern backend applications often require developers to write SQL queries manually, which can be challenging for those who are less familiar with database syntax. An optional developer-facing API that converts natural language input into executable SQL queries could significantly improve productivity and accessibility. This feature would allow frontend developers to send a natural language request through an API endpoint, which would then translate the request into a safe SQL query, apply necessary validation and permission checks, execute it against the database, and return the result. For example, a request like “get all users who signed up in the last 7 days” could be converted into a SQL query such as SELECT * FROM users WHERE created_at >= NOW() - INTERVAL '7 days'; before execution. This should be considered as an additional, optional developer experience feature that sits on top of the existing Supabase architecture, rather than a change to core query execution or security mechanisms.
Beta Was this translation helpful? Give feedback.
All reactions