Thanks, that gave me the clue I needed.  Since the as_list() method
defaults to converting datetime values to strings and I want to use
datetime methods on the values, I had to call it this way:

    requests = db().select(db.guest_request.ALL).as_list
(datetime_to_str=False)

The rest then worked.

But I've got a nagging feeling that something is a little off about
this.  I guess it bugs me that the natural solution didn't work.
Having to deal with the distinction between the Rows class and lists-
of-dicts-of-values is a pain.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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