Oops, thanks Anthony. It should be:

IS_IN_DB(db(geo_item.f_collection_id == geo_collection.id 
<http://www.google.com/url?q=http%3A%2F%2Fgeo_collection.id&sa=D&sntz=1&usg=AFQjCNFKYqrLLUpXGgMWWpsqg_8EV2f2zg>
),...)

Hope it helps.
Denes


On Friday, October 2, 2015 at 9:25:15 AM UTC-4, Anthony wrote:
>
> Note, it is actually the first argument that must be a Set object (or a 
> DAL) object. The second argument must be a Field object or a string 
> representation of a field in 'tablename.fieldname' format.
>
> Anthony
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to