I have a post table, and the table relation set with author and likes. I have successfully made a Atomic counter. I want to map that counter with current user because one user can like only one post one time. How can i do that.
you can add relation from current user to liked post to identify user’s “likes”.
how can i do that ? any exemple