On Sat, Feb 04, 2006 at 11:16:27PM +0100, Koen Bok wrote:
> Is there a way to insert these 20  
> objects all at once?

   from sqlobject.sqlbuilder import Insert
   dbConn.query(dbConn.sqlrepr(Insert("my_table", {name1: value1})))
   dbConn.query(dbConn.sqlrepr(Insert("my_table", {name2: value2})))

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