SupabaseS
Supabase12mo ago
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?
Was this page helpful?