Re: [sqlalchemy] Query manipulation when using joinedload

2013-09-24 Thread Michael Bayer
On Sep 24, 2013, at 12:52 AM, Mick Heywood m...@booodl.com wrote: Hi, I'm attempting to do some universal filtering using a custom Query class. In this case, I'm trying to filter out all items marked as archived in two related classes. I'm having some trouble adding the required

[sqlalchemy] Query manipulation when using joinedload

2013-09-23 Thread Mick Heywood
Hi, I'm attempting to do some universal filtering using a custom Query class. In this case, I'm trying to filter out all items marked as archived in two related classes. I'm having some trouble adding the required filters to the query at all the right levels. I'm using Flask 0.9, SQLAlchemy