Re: Re: possible bug or feature request with extra and where

2010-03-24 Thread Russell Keith-Magee
On Wed, Mar 24, 2010 at 2:57 PM, Henrik Genssen wrote: > Hi, > > thanks for your answer! > Now is there a way to force select_related tables any way in a count? >> >>select_related() is an optimization for data retrieval. It allows you >>to expand a select row to include related objects in a s

RE: Re: possible bug or feature request with extra and where

2010-03-23 Thread Henrik Genssen
Hi, thanks for your answer! >>>Now is there a way to force select_related tables any way in a count? > >select_related() is an optimization for data retrieval. It allows you >to expand a select row to include related objects in a single query. > >It only follows the "1" side of "1-N" relations. T

Re: possible bug or feature request with extra and where

2010-03-23 Thread Russell Keith-Magee
On Sun, Mar 21, 2010 at 8:17 AM, Henrik Genssen wrote: > No one any comment on this? > is this the expected behavior? ... >>Now is there a way to force select_related tables any way in a count? select_related() is an optimization for data retrieval. It allows you to expand a select row to include

RE: possible bug or feature request with extra and where

2010-03-20 Thread Henrik Genssen
No one any comment on this? is this the expected behavior? Hinnack >reply to message: >date: 12.03.2010 10:56:08 >from: "Henrik Genssen" >to: "Django users" >subject: possible bug or feature request with extra and where > >HI all, > >I have a query: > >results = table1.objects.select_related('t