© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Update table with Edge function but not with client side - Supabase
S
Supabase
•
4y ago
lanbau
Update table with Edge function but not with client side
Hi friends
,
i tried to enable RLS for service
_role
.
Then called the Edge function however i
'm unable to get any data back
.
I tried the example code here
https://github.com/supabase/supabase/blob/master/examples/edge-functions/supabase/functions/select-from-table-with-auth-rls/index.ts
recommended by
@garyaustin
But with no success
.
.
. when i disable RLS
, it works
The main purpose is to use the edge function to update the table
.
. and prevent client side users from updating it
GitHub
supabase/index.ts at master · supabase/supabase
The open source Firebase alternative
. Follow to stay updated about our public Beta
.
- supabase
/index
.ts at master
· supabase
/supabase
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
46,176
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
edge-function update
S
Supabase / help-and-questions
5mo ago
edge function wont update
S
Supabase / help-and-questions
11mo ago
Renamed Table, broke edge function
S
Supabase / help-and-questions
6mo ago
Query table from edge function
S
Supabase / help-and-questions
4y ago