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:
http://www.postgresql.org/docs/8.4/interactive/sql-truncate.html
--
-- Christophe Pettus
[email protected]
--
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.