Re: How to group_by..

2009-06-08 Thread Darren
Nice, thanks for the update, Russell and Alex ! -d On Jun 5, 10:10 pm, Russell Keith-Magee wrote: > On Sat, Jun 6, 2009 at 7:55 AM, Alex Gaynor wrote: > > > On Fri, Jun 5, 2009 at 12:03 PM, Darren wrote: > > >> That's cool. You don't happen to have an updated estimate of the 1.1 > >> release d

Re: How to group_by..

2009-06-05 Thread Russell Keith-Magee
On Sat, Jun 6, 2009 at 7:55 AM, Alex Gaynor wrote: > > > On Fri, Jun 5, 2009 at 12:03 PM, Darren wrote: >> >> That's cool. You don't happen to have an updated estimate of the 1.1 >> release date by any chance? >> > At this point 1.1 will be released as soon as the last 30 or so bugs have > been f

Re: How to group_by..

2009-06-05 Thread Alex Gaynor
On Fri, Jun 5, 2009 at 12:03 PM, Darren wrote: > > That's cool. You don't happen to have an updated estimate of the 1.1 > release date by any chance? > > Thanks, > Darren > > On Jun 5, 12:35 pm, Russell Keith-Magee > wrote: > > On Sat, Jun 6, 2009 at 12:20 AM, Darren > wrote: > > > > > Fantastic

Re: How to group_by..

2009-06-05 Thread Darren
That's cool. You don't happen to have an updated estimate of the 1.1 release date by any chance? Thanks, Darren On Jun 5, 12:35 pm, Russell Keith-Magee wrote: > On Sat, Jun 6, 2009 at 12:20 AM, Darren wrote: > > > Fantastic, thanks! > > > This is 1.1 only though correct? > > Apologies, I should

Re: How to group_by..

2009-06-05 Thread Russell Keith-Magee
On Sat, Jun 6, 2009 at 12:20 AM, Darren wrote: > > Fantastic, thanks! > > This is 1.1 only though correct? Apologies, I should have mentioned this. Yes, the syntax I gave will only work with Django trunk (soon to be v1.1) Yours, Russ Magee %-) --~--~-~--~~~---~--~---

Re: How to group_by..

2009-06-05 Thread Darren
Fantastic, thanks! This is 1.1 only though correct? Cheers :) Darren On Jun 5, 11:39 am, Russell Keith-Magee wrote: > On Fri, Jun 5, 2009 at 11:24 PM, Darren wrote: > > > Hey, > > > Would anyone be able to to help me convert this SQL to Django code? > > > SELECT A.a, COUNT(B.b) > > FROM A, B

Re: How to group_by..

2009-06-05 Thread Russell Keith-Magee
On Fri, Jun 5, 2009 at 11:24 PM, Darren wrote: > > Hey, > > Would anyone be able to to help me convert this SQL to Django code? > > SELECT A.a, COUNT(B.b) > FROM A, B > WHERE A.id = B.a_id > GROUP BY A.id > ORDER BY A.id; It's impossible to give you a canonical answer without a complete Django mo

How to group_by..

2009-06-05 Thread Darren
Hey, Would anyone be able to to help me convert this SQL to Django code? SELECT A.a, COUNT(B.b) FROM A, B WHERE A.id = B.a_id GROUP BY A.id ORDER BY A.id; Thanks! Darren --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou