I was wondering what an easy way for me in the future to make queries efficient and less complicated.
Should I maintain a bilateral relationship, for example
from_id = 1, to_id = 2 from_id = 2, to_id = 1
or just create one unique line
from_id = 1, to_id = 2
any thoughts?
source
share