On Thu, May 08, 2008 at 11:17:30AM +0200, Petr Jake?? wrote:
> Thanks Oleg, I was reading about this feature of SQLObject. But my feeling
> was it is necessary to
> type all column names manually if the
> class sqlmeta:
> fromDatabase = True
> is not used.
> To be more specific, I mean it is necessary to type in all column names used
> in the tabel, not just some of them.
You can use both at the same time:
class MyTable(SQLObject):
clas sqlmeta:
fromDatabase=True
name = StringCol(dbName="a$col")
I.e. draw the columns' descriptions from the database but override some
of them.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss