On Fri, Mar 09, 2007 at 08:17:48PM +0100, Frank Wagner wrote:
> i now want to add the relations between the tables to the model.
> for example i want to change classes to:
>
> class Booking(SQLObject):
> participants = MultipleJoin("Participant", joinColumn="BUCHUNGSNR")
> class sqlmeta:
> fromDatabase=True
> idName="NR"
I don't know if fromDatabase can be used with explicitly defined
columns. Probably they are incompatible.
I think if you want to define a column you have to define all columns
instead of drawing them from the DB.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss