Hi,

i have a working declarative configuration that has a relation as
this::

  client  = relation(Cliente, backref='jobs' , lazy=False,
order_by=status.desc)

now I'd like to add a second column in the order_by field but adding a
list doesn't seem to work. I tried:

  client  = relation(Cliente, backref='jobs' , lazy=False,
order_by=[status.desc, description])

before posting the error I'd like to understand if that should be
correct as I don't find in the docs the correct sintax, I just find
the syntax for order_by method of query.

thanks
sandro
*:-)

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to