ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseโ€ข13mo agoโ€ข
10 replies
Muezz

Access project ID using SQL

I want to be able to hit the same edge function endpoint in a trigger but in different domains (production vs preview vs local).

For that, I need to access the project ref ID or the domain itself from inside plpgsql. Is that possible?
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

Get supabase project name using SQL query
SupabaseSSupabase / help-and-questions
4y ago
Retrieve the supabase project id and name in SQL
SupabaseSSupabase / help-and-questions
4y ago
Project level Access?
SupabaseSSupabase / help-and-questions
2w ago
Get project ref from SQL?
SupabaseSSupabase / help-and-questions
4y ago