Ah perfect, I didn’t realize the postgrest binding...
# sql
k
Ah perfect, I didn’t realize the postgrest bindings were available in function calls. Makes perfect sense
s
Note that this interface has changed to be compatible with PostgreSQL 14: https://postgrest.org/en/v9.0/api.html#accessing-request-headers-cookies-and-jwt-claims
If your db is on PostgreSQL 14(check with
select version();
) you'll have to use the new interface
k
Good to know, thanks!