Steve Francia wrote:

I have two tables user and friends, friends is a join table that joins users to users. In my system, friendship is bilateral, meaning to have a friend is to be one. I worked through the reciprocal relationship alright, but the bilateral part has me stumped.

My solution for this situation was to simply have two rows in the friend table for each friendship.

Ronald

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to