Re: [sqlalchemy] order_by(None) for joinedload subclause queries?

2014-12-30 Thread Adam Feuer
planation. That sounds like what we want. I'll try it tomorrow. cheers adam -- Adam Feuer a...@cookbrite.com -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: [sqlalchemy] order_by(None) for joinedload subclause queries?

2014-12-30 Thread Adam Feuer
f the other places. But it might be worth it. I think the manual joins and contains_eager may be better for us. Will that work because the manual joins and contains_eager doesn't automatically trigger adding the ORDER BY clauses? cheers adam -- Adam Feuer a...@cookbrite.com -- You recei

[sqlalchemy] order_by(None) for joinedload subclause queries?

2014-12-30 Thread Adam Feuer
ads omitted): @classmethod def query(cls, session): query = query.options( joinedload(cls.ingredients).joinedload(RecipeIngredient.ingredient), joinedload(cls.instructions), joinedload(cls.scanned_photos), joinedload(cls.tags),