> how to make sqlobject work with a legacy table wich has a primary key
> combined by two rows? Like this?
>
>   PRIMARY KEY  (`interface_id`,`mac_addr`)

I think the answer is no, SQLObject doesn't have that feature:
http://webwareforpython.org/archives/message/20050602.140855.1524ff2b.en.html#sqlobject-discuss
But it would be nice if someone extends SQLObject in this aspect... I
think it is a hard problem though because SQLObject internally uses a
hidden "id" field as every tables primary key.

--
mvh Björn


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to