Hi Archibald,

if you want to clear all records from a table do:

  db.table.truncate()

To clear all just loop thru db.tables .

db.commit() to finish.

It should work for all DBs.


On Nov 14, 7:56 am, Archibald Linx <archibaldl...@gmail.com> wrote:
> Thank you Bruno.
>
> I am using SQLite.
>
> I want to reset all the tables of my project.
>
> Thanks,
> Archibald
>
> On 14 nov, 01:44, Bruno Rocha <rochacbr...@gmail.com> wrote:
>
>
>
>
>
>
>
> > which database engine?
>
> >http://zerp.ly/rochacbruno
> > Em 13/11/2011 22:38, "Archibald Linx" <archibaldl...@gmail.com> escreveu:
>
> > > Dear Web2py users,
>
> > > How can I reset the database of my Web2py project ?
>
> > > Thanks,
> > > Archibald

Reply via email to