Hello. I have a table like items id code0 name ------------------------ 1 43 Books 2 321 Pencils 3 None Goods 4 2 Markers 5 1 Pens
I use an order_by(code0) to sort query, and it sort like 1, 2, 43, 321, None. I need to get None-values to top, like None, 1, 2, 43, 321. Is it possible with order_by function? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---