Re: [SQLObject] Selecting a single column
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Frank W. <fra...@no...> - 2010-07-13 01:25:53
|
2010/7/13 Daniel: >> I seem to be uncomfortable using SQLObject because some of >> my tables aren't really objects as much as linking tables. >> In this case we have a User who has friends so I added a >> Friends class (userid,friendid) which isn't really an >> object in my mind. i think youre thinking of ForeignKeys: http://www.sqlobject.org/FAQ.html#id15 when referencing itself, you´ll have something like a user table and a user_user table, resulting in a n times m relationship between users (a.k.a. friends). hth, frank |