Or rather:
db.executesql('START TRANSACTION;')
db.executesql('Insert into ....;')
db.commit()

On Mar 22, 4:42 pm, notabene <[email protected]> wrote:
> Or run db.executesql('Insert into ....')?
>
> On Mar 22, 4:04 pm, mdipierro <[email protected]> wrote:
>
> > You have to loop and commit each of them.
>
> > On Mar 22, 6:14 am, phneoix <[email protected]> wrote:
>
> > > hi,
> > >   i would like to know whether it is possible to store multiple
> > > records in storage and commit them all at once to the table. if not is
> > > there any other way.
>
> > > thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to