Re: [SQLObject] Creating intermediate tables
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Kevin D. <da...@gm...> - 2005-07-27 16:22:23
|
On 7/27/05, Oleg Broytmann <ph...@ph...> wrote: > On Wed, Jul 27, 2005 at 10:42:57AM -0400, Kevin Dangoor wrote: > > A better solution here would probably be to use a set rather than a lis= t. >=20 > I don't see how a set can help here. We need not to create the > intermediate table if it was already created. I was thinking that the whole point of the list was to keep track of what needs to be created, assuming it was difficult to determine what tables were already in the database. If it's easy to see if the table is already there, then indeed just don't create the table if it's already there! Kevin |