Do you have the latest web2py version? Probably not.

On Nov 3, 2:36 pm, mike <[email protected]> wrote:
> Im following the documentation, I have made this model (copy&paste
> it):
>
> buyer = db.define_table('buyer',
>                         Field('name'))
>
> and in my control, i try to do this:
>
>     rows = db(buyer.id>0).select().find(lambda row:row.name.startswith
> ('C'))
>
>     return dict(rows)
>
> but im getting this error:
>
>     AttributeError: 'Rows' object has no attribute 'find'
>
> any suggestions?
--~--~---------~--~----~------------~-------~--~----~
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