4 ms·
for when it really matters, then you should just use a Postgres Function. That will be an order of magnitude faster than anything you do to match the region. S
by kiwicopple 4y ago
for when it really matters, then you should just use a Postgres Function. That will be an order of magnitude faster than anything you do to match the region.
Supabase has auto-generated APIs (using PostgREST), so you can execute a Postgres Functions like this:
const { data, error } = await supabase.rpc('echo', { hello: 'world' })