Hi, is there a way i could access `auth()` inside ...
# sql
b
Hi, is there a way i could access
auth()
inside a view or function and check if
auth().role = 'authenticated'
? only authenticated users can read value from column A and if column B is "special value". if column b is "not special value" anyone can read it