This works:

def item_tasks():
    return crud.select(db.task, db.task.taskarea=='Hardware') or "No data"

but I have a startTime and endTime in the DB and would like to have

query="sum(endTime - startTime) in the crud.select.  Where do you put
the sum in with crud formatting?

thx,

-wj

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to