For example, if I have a list of names which get from the user collection, and when I click on the list item, then it will create a new row with the current user name and the name on the list item in another collection.
What I want to achieve is if there is already a row with your user name and your target name, then you cannot create a new one anymore,
How should I do that?