On Mon, Dec 11, 2006 at 09:03:04AM +0100, Robert wrote:
> Oleg: this gives you no control over actual table names. I forgot to 
> mention this is a must as well, we have tables from an external source 
> (exported from another DBMS) that are used by some other software too.

   I fixed this in the trunk (revision 2247). You can now inherit idName
from the parent sqlmeta class:

class myid_sqlmeta(sqlmeta):
    idName = "my_id"

class TestSO12(SQLObject):
    class sqlmeta(myid_sqlmeta):
        table = "my_test_12"
    name = StringCol()

   The test has been added to the test_basic.py.

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
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to