Skip to content

Commit

Permalink
fix: rls example (#22853)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevcodez committed Apr 18, 2024
1 parent 157f668 commit e6bbe8e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -208,7 +208,7 @@ You can use `select` statement to improve policies that use functions. For examp
```sql
create policy "rls_test_select" on test_table
to authenticated
using ( (select auth.uid()) = user_id );
using ( auth.uid() = user_id );
```

You can do:
Expand Down

0 comments on commit e6bbe8e

Please sign in to comment.