If you want the tag names, you can do nested selects:

rows=db(db.tag.id.belongs(db(db.user_tags.user_id==theuserid)._select
(db.user_tags.tag_id))).select(db.tag.name)

Note that the inner selection uses _select (starts with an
underscore).

Denes.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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