On 12/03/2010 03:06 PM, Jonas H. wrote:
On 12/03/2010 10:04 AM, Waldemar Kornewald wrote:
You probably don't want to use those aliases. Instead, you should use
a separate alias namespace for
embedded object filters. Otherwise you'll have to deal with the
complex JOIN code in the backend unnecess
On 12/03/2010 10:04 AM, Waldemar Kornewald wrote:
You probably don't want to use those aliases. Instead, you should use
a separate alias namespace for
embedded object filters. Otherwise you'll have to deal with the
complex JOIN code in the backend unnecessary. Aliases for embedded
objects could j
On Thu, Dec 2, 2010 at 5:03 PM, Jonas H. wrote:
> On 12/01/2010 08:04 AM, Waldemar Kornewald wrote:
>>
>> In the end JOINs will be a rather complicated solution. I thought
>> that's why you wanted to extend the ORM directly to handle embedded
>> fields in a special way. That should be easier and c
On 12/01/2010 08:04 AM, Waldemar Kornewald wrote:
In the end JOINs will be a rather complicated solution. I thought
that's why you wanted to extend the ORM directly to handle embedded
fields in a special way. That should be easier and cleaner.
That's what I'm up to, but I have to know how to re
On Nov 30, 9:34 pm, "Jonas H." wrote:
> Hello List!
>
> I'm working on queries on embedded objects for Django-nonrel (more
> precisely, djangotoolbox) that will use JOIN-like syntax.
>
> For this, I need to know how to distinguish
> .filter(spam__op=eggs, foo__op=bar)
> from
> .filter(spam__
On Wed, Dec 1, 2010 at 4:34 AM, Jonas H. wrote:
> Hello List!
>
> I'm working on queries on embedded objects for Django-nonrel (more
> precisely, djangotoolbox) that will use JOIN-like syntax.
>
> For this, I need to know how to distinguish
> .filter(spam__op=eggs, foo__op=bar)
> from
> .filter(
Hello List!
I'm working on queries on embedded objects for Django-nonrel (more
precisely, djangotoolbox) that will use JOIN-like syntax.
For this, I need to know how to distinguish
.filter(spam__op=eggs, foo__op=bar)
from
.filter(spam__op=eggs).filter(foo__op=bar)
in the .where tree used