© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
6 replies
floyare

Check if row already exists with RLS.

I have simple table that only user can post in it once for every 'target' user. For example.
user1
user1
have row that targets
user2
user2
and user1 can't insert any more of this combination. And now my question is is it possible to do it with RLS?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Checking if a row with the same element already exists
SupabaseSSupabase / help-and-questions
4y ago
RLS on UPDATE `WITH CHECK` call function using new row data?
SupabaseSSupabase / help-and-questions
4y ago
how to check if user exists only with Google OAuth?
SupabaseSSupabase / help-and-questions
4y ago
RLS Condition check
SupabaseSSupabase / help-and-questions
4y ago