Answer the question
In order to leave comments, you need to log in
What is the principle of adding friends on a social network?
What is the principle of adding friends on a social network?
Answer the question
In order to leave comments, you need to log in
if it’s very rough, then there is a table with a many to many relationship where a link of the user_id to user_id relationship is stored;
when adding to friends, an entry is simply added to this table.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question