Pl consider following select statement:
rows=db().select(db.persons.ALL, db.books.ALL, 
left=db.persons.on(db.persons.id==db.books.owner))

Want to order by persons.dob, then books.purchased, where both are of type 
date/time.


On Wednesday, 6 March 2013 11:01:03 UTC+5, 黄祥 wrote:
>
> could you be more specific?
> i make a conditional if statement for sorting (orderby) in my application
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to