Kosh
08/02/2021, 7:06 AMDharmaraJ
08/02/2021, 7:32 AMDharmaraJ
08/02/2021, 7:32 AMDharmaraJ
08/02/2021, 7:33 AMAzura
08/02/2021, 7:34 AMDharmaraJ
08/02/2021, 7:34 AMDharmaraJ
08/02/2021, 7:36 AMAzura
08/02/2021, 7:37 AMDharmaraJ
08/02/2021, 7:40 AMsql
FOR UPDATE USING (
auth.email() = email
) WITH CHECK (
auth.email() = email
);
sql
FOR DELETE USING (
auth.uid() = user_id
);
If I understand it correctly WITH CHECK
is just compare those 2 values. But why the the DELETE example not using it?DharmaraJ
08/02/2021, 7:40 AMmagicquin
08/02/2021, 7:42 AMAzura
08/02/2021, 7:42 AMAzura
08/02/2021, 7:43 AMDharmaraJ
08/02/2021, 7:43 AMDharmaraJ
08/02/2021, 7:44 AM'check_expression':
This expression will be used in "INSERT" and "UPDATE" queries
DharmaraJ
08/02/2021, 7:44 AMDharmaraJ
08/02/2021, 7:45 AMjoshcawthorne
08/02/2021, 9:11 AMinviteUserByEmail
api to work due to users not having the right roles, but unsure on how to set roles for users?silentworks
08/02/2021, 9:50 AMLeDragunov
08/02/2021, 10:46 AMDharmaraJ
08/02/2021, 11:47 AMDharmaraJ
08/02/2021, 11:49 AMonFinalized
triggersAzura
08/02/2021, 11:53 AMs u s h i
08/02/2021, 12:17 PMa d
08/02/2021, 12:19 PMsilentworks
08/02/2021, 12:21 PMLynqoid
08/02/2021, 12:26 PMa d
08/02/2021, 12:30 PMa d
08/02/2021, 12:31 PMAzura
08/02/2021, 12:31 PM