Re: update col=col+1

2007-01-26 Thread Wolfram Kriesing
so there is no one query solution, ok. thx On 1/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > object = Model.objects.get(pk=x) > object.col += 1 > object.save() > > On Jan 26, 11:54 am, "Wolfram Kriesing" <[EMAIL PROTECTED]> > wrote: > > I know I had read it here a while ago, but I cant

Re: update col=col+1

2007-01-26 Thread [EMAIL PROTECTED]
object = Model.objects.get(pk=x) object.col += 1 object.save() On Jan 26, 11:54 am, "Wolfram Kriesing" <[EMAIL PROTECTED]> wrote: > I know I had read it here a while ago, but I cant find it. > So what was the ORM way of doing a > UPDATE table SET col=col+1 > ? > > -- > thx > > Wolfram --~

update col=col+1

2007-01-26 Thread Wolfram Kriesing
I know I had read it here a while ago, but I cant find it. So what was the ORM way of doing a UPDATE table SET col=col+1 ? -- thx Wolfram --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. T