I have table structure like this posts | posts_tags | tags _________________________ id |...
I found the solution. If this can be done in better way, please let me know. $tagIDs = [1,2,3]; $se...
johndavedecano said: $posts = Post::whereHas('tags', function($q) { $tagsIDs = [5,17,22];...
The Laravel portal for problem solving, knowledge sharing and community building.
The community