© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•5mo ago•
12 replies
MyLizard

Database Functions vs Edge Functions

I've been learning how to write edge functions this last week, which has meant learning basic javascript and getting a CLI environment running.

I see the advantage of them for opening up APIs that I can call externally from some other app.

However, all of the functions I'll want to use involve calling some other external api and pulling in fields. Given that I'm more comfortable with Python (and that postgres stored procedures support it), I'm wondering if there's any reason not to just write all those external api calls as postgres database functions?

If the answer is that I should just use postgres functions, then the remaining advantages of having Supabase include:
1. Authentication
2. Native integration with WeWeb

Is there any other advantage?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Call Edge Functions from Database Functions
SupabaseSSupabase / help-and-questions
7mo ago
Database error with local edge functions
SupabaseSSupabase / help-and-questions
13mo ago
Edge Functions
SupabaseSSupabase / help-and-questions
4mo ago
Edge Functions
SupabaseSSupabase / help-and-questions
13mo ago