خرید بک لینک

Vote count: 0

This has probably been asked but I am not even sure how to phrase this suitable for querying.

I wish to call user1.friends (user1 is an instance of the User model) which retus a list of users who all include user1 as one of their friends.

I am not sure where to even start with this one.

What would be my columns for the friends table? Should there even be a friends table?

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 3 ارديبهشت 1395 ساعت: 8:59

صفحه بندی