Publisher review:Return items with data intersections - if you have an array called 'tags' containing the tags, you could use this code If you have three tables, 'posts', 'tags', and a join table 'posts_tags', and you wish to find all posts which are all associated with a number of different tags, you can use this SQL trick.
This is how Snippets itself works. You can also add a p.user_id check to the HAVING operator to only find posts with certain tags by a certain user.
Return items with data intersections is a Ruby script for Snippets scripts design by peter.
It runs on following operating system: Windows / Linux.
Operating system:Windows / Linux