if you run it form the shell remember to db.commit()

On Jul 27, 1:08 pm, Ismael Serratos <[email protected]> wrote:
> Hi Antonio, check this out
>
> http://www.web2py.com/book/default/chapter/06?search=truncate#insert
>
> db.table.truncate()
>
> 2011/7/27 António Ramos <[email protected]>
>
>
>
>
>
>
>
> > hello, i deleted all record from a table
>
> > the id stil mantains the last id when i create the first record again.
>
> > it is not important but if i coud reset the id, it would stop me from going
> > crazy
>
> > Thank you
>
> > António

Reply via email to