© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
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
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Checking if a row with the same element already exists
S
Supabase / help-and-questions
4y ago
RLS on UPDATE `WITH CHECK` call function using new row data?
S
Supabase / help-and-questions
4y ago
how to check if user exists only with Google OAuth?
S
Supabase / help-and-questions
4y ago
RLS Condition check
S
Supabase / help-and-questions
4y ago