Hi,

On Tue, Feb 17, 2009 at 5:22 PM, Ken <kkin...@gmail.com> wrote:

>
> On Feb 17, 3:13 pm, Michael Trier <mtr...@gmail.com> wrote:
> > backref supports the same arguments as relation(), which include an
> order_by
> > argument.
> >
> > http://www.sqlalchemy.org/docs/05/reference/orm/mapping.html?highligh...
>
> Michael, I'm using the order_by argument. The problem is that it's
> sorting my values ascendingly instead of descendingly.
>

Sorry, I misunderstood. You should be able to do a order_by=field.desc().

-- 
Michael Trier
http://blog.michaeltrier.com/
http://thisweekindjango.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@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