Il 15/10/2012 16:40, lyn2py ha scritto:
> My code:
> |
> rows = db(db.bins.id <http://db.bins.id>>1).select(
>         left=db.notes.on(
> (db.notes.tags_id.contains((*db.bins.tags_id*).split('|')) )
>     )
> |
>
what about:

|
rows = db(db.bins.id>1).select(
        left=db.notes.on( (db.bins.tags_id.belongs((*db.notes.tags_id*)) )
    )
|

http://web2py.com/books/default/chapter/29/06#belongs

you cannot applay a list method to a table column (even if it's represented as a list...)

bye

    M.

--



Reply via email to