That's exactly what I'm thinking about. Unfortunately, it's not brought to
the attention among Django developers so far.
On Tuesday, 20 May 2014 02:01:55 UTC-6, Tai Lee wrote:
>
> Right now it seems that for a generic app to support the possibility of
> being installed in a URLconf with a
myapp_b T1 WHERE
> T1.a_id = myapp_a.id AND T1.criteria = True)
>
> perhaps?
>
>
> On 11 November 2014 16:18, George Ma <george...@gmail.com >
> wrote:
>
>> Yes, the actual sql is very close to this one. But I just feel this
>> approach is like a hack. Becau
o know the SQL generated for any particular queryset, you can
> just:
>
> print str(qs.query)
>
> On 11 November 2014 11:39, George Ma <george...@gmail.com >
> wrote:
>
>> For simplicity, let's assume we have a model A and model B.
>>
>> class A(model
I've encountered quite a few cases where I need to write complicated
queries where a exists subquery makes more sense and has better
performance. So far, there's no exists subquey support in queryset api.
Please add it.
--
You received this message because you are subscribed to the Google