error when execute 'create table sql statement' via supabase rpc function #33860
Unanswered
liujichao2017
asked this question in
Questions
Replies: 1 comment
-
error information is 42501: "Permission denied for schema public." |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I create a function, the function parameter is a sql statement. If my statement is create table, I execute it through js api, await supabase.rpc('create_table_schema', {
sql_statement,
}); It will report the error Permission denied for schema public, but it can be executed in SQL Editor
Beta Was this translation helpful? Give feedback.
All reactions