cursor.commit()

On Jul 15, 9:12 pm, "Steven Hilton" <[EMAIL PROTECTED]> wrote:
> On 7/15/07, James Bennett <[EMAIL PROTECTED]> wrote:
>
>
>
> > On 7/14/07, Steven Hilton <[EMAIL PROTECTED]> wrote:
> > > I could be updating any number of rows in bar. I want to do this
> > > without do a select on bar.
>
> > Also, it's worth noting that this is also fairly easy to do, it just
> > involves a little bit more code. Something like the following example
> > should get you started (this would be the save() method on the 'foo'
> > class, and a custom method also on that class):
>
> Thanks. This is very similar to what I'm doing -- although I'm not
> using the _meta.db_table variable, which I will correct.
>
> The problem with this, now that I've gone down this path, is that the
> sql is not committing. I've posted in another thread titled 'commiting
> custom update sql' in this group, available online at:
>
> http://groups.google.com/group/django-users/browse_thread/thread/7923...
>
> --
> Steven Hilton <[EMAIL PROTECTED]>
> <http://mshiltonj.com/>
>
> "It is the duty of the patriot to protect
>  his country from its government." -- Thomas Paine
>
> "There is no heart so black
>   as the black, black heart
>   of the phony leper." -- Adrian Monk


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to