Answer the question
In order to leave comments, you need to log in
How to build a database query with a many-to-many relationship [laravel]?
Good evening everyone. There is a many-to-many relationship, namely the articles table, the tags table and the article_tag table, where there are 2 columns (article_id and tag_id). How do I build a query and output only certain article with the where method of the DB facade?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question