On 06/23/2012 11:15 PM, Niphlod wrote:
> http://web2py.com/books/default/chapter/29/6#belongs
> 
> belongs take a set or a  _select() - mind the _ in front of the select -
> : you're using it in the wrong way :D
> 
> db(db.movies.id.belongs(
>      db(db.ratings.id>0)._select(db.ratings.imovie)
> )).select(db.movies.ALL)


Thanks a lot. :)

-- 
Vincenzo Ampolo
http://vincenzo-ampolo.net
http://goshawknest.wordpress.com


-- 



Reply via email to