I think you will need to use raw sql for this... http://web2py.com/book/default/chapter/06?search=raw+sql#Raw-SQL
At least it one way I see that it could work... But I remember that I have read something about resetting sequence from web2py... Richard On Thu, Dec 8, 2011 at 4:14 PM, Alan Etkin <spame...@gmail.com> wrote: > Does it work for sqlite3 or MySQL, etc? > > On Dec 8, 5:27 pm, nick name <i.like.privacy....@gmail.com> wrote: > > Interesting. DAL has specific reset code for MS SQL and SQLite, but not > for > > postgresql (or any of the other databases, it seems) >