I’m building a site that has a tagging based on the toxi schema. But I’m having difficulties generating a query that fetches links/bookmarks based on their tag. Using “Toxi” the links/bookmarks table does not contain any tag id info, instead that info is store in the tag_map. I need to form a query where I can display links that match a particular tag_id (via tag_map). Can anyone point me in the right direction?
`links`
`link_id`
`link_title`
`link_owner_id`
`link_url`
`link_description`
`link_datecreated`
`tags`
`tag_id`
`tag_title`
`tag_description`
`tag_owner_id`
`tag_map`
`map_id`
`map_link_id`
`map_tag_id`
1 Answer