you want probably len(list(result))

MilesTogoe a écrit :
> With version .3 I have the following syntax
>
> results = db.select(....)
> return list(results)
>
> but what is returned if a select is not found ?  I need to test for an 
> invalid response before further processing. 
>
> >
>
>
>   



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to