Hi, Again a question on a habtm find and again the default example:
Tag <-> TagPost <-> Post What I need to accomplish is a fairly easy thing (I thought), but somehow I don't seem to be able to do it. I would like to find all Posts that match 2 (or more) tags, so for example all Post with the tags 'Cake' AND 'PHP' associated. So far I only had 'OR' queries (tag_id IN (1, 2, ..)) and as mentioned before I don't have a clue right now.. Thanks a lot, harpax --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
