I wasn't sure what the question was here. To get the first ORM entity, use column_descriptions:
query = query.order_by(query.column_descriptions[0]["entity"].name) http://docs.sqlalchemy.org/en/latest/orm/query.html?highlight=column_descriptions#sqlalchemy.orm.query.Query.column_descriptions On 07/15/2016 04:49 AM, Andrew Pashkin wrote:
Bump.
-- 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 email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
