On 10/17/07, Dan Watson <[EMAIL PROTECTED]> wrote: > I was wondering what people thought of adding a .exists() method to > querysets that would take another QuerySet, and add a "WHERE EXISTS > (SELECT ...)" to the original query. It would require that the passed- > in QuerySet be joinable with the original QuerySet via a ForeignKey > relationship. Take the following example:
You want to read this thread (first result when searching the group archive for "queryset exists"): http://groups.google.com/group/django-developers/browse_frm/thread/5490f8736cc54c27/ -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---