tamagoez
10/31/2021, 2:18 AMconst username = async () => {
return await supabase.from('users').select('username').eq('id', user?.id)
}
silentworks
10/31/2021, 2:32 AMuser.id
down, you should rather use a row level security policy to get things like this working. Also please take a look at the Supabase guides to learn a bit more about how to use the JavaScript library, the guides for JavaScript are really good.tamagoez
10/31/2021, 2:34 AM