On Mon, Mar 14, 2011 at 11:40:24AM +0000, Timothy W. Grove wrote: > If I have an old database which contains an intermediate table generated > by code such as 'videos = RelatedJoin("ExplanatoryVideos")' , and the > class has been changed to no longer require a 'many-to-many' > relationship, can this intermediate table be deleted through SQLObject > to update the old database?
Table.dropJoinTables() drops all intermediate tables. If you want to drop only a specific table, you ought to copy some code from .dropJoinTables() to find out what table you want to drop - and drop it. Oleg. -- Oleg Broytman http://phdru.name/ p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss