On Tue, Jun 23, 2009 at 3:11 AM, nevvkid <[email protected]> wrote:

>
> Hello together,
> i wonder if it's possible to add a custom filter to a join "ON". E.g.
> a query:
>
> SELECT * FROM `table` INNER JOIN `table_attribute` ON (`table`.`id` =
> `table_attribute`.`lamp_id` AND foo=bar);
>
> Please have a look at "foo=bar".
>
> There is a method "filter" for django models, but that's not what i
> need... :)
>
> Any hints?
>
> Thanks and best regards,
> Johannes
>
> >
>
As I said on django-users yesterday, this isn't possible.  Please don't
remail threads to django-developers unless they should have been here in the
first place.  Which in this case it shouldn't be, django-developers is for
the development of django itself, not usage questions.

Alex

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to