On Fri, Dec 4, 2009 at 12:56 PM, Christophe Pettus <[email protected]> wrote:
> > On Dec 4, 2009, at 12:37 PM, Phlip wrote: > > > could such a method > > call only send one SQL command? > > If you are using PostgreSQL as a back-end, it has a very efficient > command TRUNCATE for just such a purpose, which you could sending as a > raw SQL command: Same works for MySQL. And it is far, far faster than most other ways, for large tables. Nick -- You received this message because you are subscribed to the Google Groups "Django users" 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/django-users?hl=en.

