Re: [sqlalchemy] Sorting on joined columns with a mapper?

2014-02-08 Thread Michael Bayer
On Feb 8, 2014, at 2:52 PM, Iain Duncan wrote: > Hi folks, I have a mapper that has an order by clause, and I was hoping to > get it to work with secondary sorts on the joined tables, wondering if this > is possible, or if not, how I could add some other kind of more complex > sorting? > > H

[sqlalchemy] Sorting on joined columns with a mapper?

2014-02-08 Thread Iain Duncan
Hi folks, I have a mapper that has an order by clause, and I was hoping to get it to work with secondary sorts on the joined tables, wondering if this is possible, or if not, how I could add some other kind of more complex sorting? Here's what I hoped would work but didn't: mappers['Membership'