1) still do not understand why you using the SQL when you can create/drop
tables from Python using SQLobject:

MyTable.dropTable(ifExists=True)
MyTable.createTable(ifNotExists=True)

2) I can't see the purpose of your code. Can you explain why are you trying
to set id that way? I would rather set it from the code:

foo.createTable(ifNotExists=True)
tmp=foo(id="tikdsljg",  aa='qqq', id2='ffff')

Petr

PS: you are using some "strange" indentation in your code. Please try to
follow:
http://www.python.org/doc/essays/styleguide.html and use 4 spaces
indentation.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to