Re: [SQLObject] Selecting a single column
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Daniel F. <fet...@go...> - 2010-07-12 23:41:51
|
> I need a single column of the table in list format format > based ie select col1 where foo. Can I do this? See http://www.mail-archive.com/sql...@li.../msg04736.html > Can I write my own sql? Whats the most efficient way to do this? See http://sqlobject.org/SQLBuilder.html > 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. Well, a friend table is just as much a Friend object as a user table is a User object (in my mind, at least). Cheers, Daniel -- Psss, psss, put it down! - http://www.cafepress.com/putitdown |