in reply to Re^2: best way to keep track of who's friends with whom
in thread best way to keep track of who's friends with whom
In case you do want to treat friendship as commutative, here's a simple rule: require that the value of the id A is numerically smaller than the value of id B. If it's the other way around, swap them.
|
|---|