© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
15 replies
j4

Database Function or Edge Function?

In this function, I'll need to do a DNS query; then follow that up with an http request to a remote server, receive a response, then write back to the database.

My main question is, would a DNS query be possible with any of the DF languages?? Thought I saw some docs where it supports javascript.

This function needs to be callable from a trigger or webhook, but it looked like that was possible with either one.

I also saw where Webhooks will soon support running a 'Supabase Function', but I wasn't sure if that was both DFs and EFs or what.
Screen_Shot_2022-12-05_at_1.17.16_PM.png
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

Database Functions vs Edge Functions
SupabaseSSupabase / help-and-questions
5mo ago
Calling edge function from database trigger
SupabaseSSupabase / help-and-questions
13mo ago
Serving Edge Functions locally, can't find database function
SupabaseSSupabase / help-and-questions
3y ago
Edge Function
SupabaseSSupabase / help-and-questions
5mo ago