Hi,

I'm a bit curious about how to unset an order_by in 0.6.

query.order_by(None) should do it, but in sqlalchemy/orm/query.py in
_no_select_modifiers() the notset value for the _order_by attribute is
False. In turn, the order_by() method doesn't seem to accept False.

What would be a proper way to unset an order_by? In my case the
order_by is set when classes are mapped.

Best regards,

Andi

-- 
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.

Reply via email to