On Wed, Feb 01, 2006 at 10:19:07PM +0100, Giuseppe Corbelli wrote:
> as a newbie user of SQLObject 0.7 (sqlite module) I'm looking for a way to
> add columns to a SQLObject at runtime.

class MyTable(SQLObject):
   ...

MyTable.sqlmeta.addColumn(IntCol(name="age", default=-1))

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: 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&kid=103432&bid=230486&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to