It seems like I'm constantly using custom SQL statements, because the
ORM won't offer what's necessary to achieve the desired data
query/manipulation.

Right now I need to wrap up the following in a transaction that will be
called a few hundred times in a for loop.

delete from table ...
create temp table ...
insert into temp_table
update table ... from temp_table ...

My question is should I use django for this and just use the cursor to
execute each command separately or should I decouple this even further
and wrap this up in a stored procedure which I call from django?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to