mapper has an "order_by" argument which is used to establish the default ordering when Query is used. Mapper configuration with declarative is via the __mapper_args__ dictionary. Both concepts are described in http://www.sqlalchemy.org/docs/orm/mapper_config.html .
On Dec 6, 2010, at 9:09 AM, Nagy Viktor wrote: > hi, > > how can I specify the default ordering of a declaratively given table? > > Viktor > > -- > 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. -- 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.
