On 09/28/2012 12:38 PM, Vlad K. wrote:
I need to list Items that:
- have Item.some_flag == True
- are present in Location X (have relationship with Location.id == X)
- belong to Category Y (have relationship with Category.category_id == Y)
My apologies, see how burnt out I am. :)
- are present in Location X (have relationship with Location.id == X)
is wrong, I need this:
- are present in City X (have relationship with Location that has
Location.city_id == X)
--
.oO V Oo.
Work Hard,
Increase Production,
Prevent Accidents,
and
Be Happy! ;)
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" 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/sqlalchemy?hl=en.