N
N
naneri2014-12-11 12:49:33
Laravel
naneri, 2014-12-11 12:49:33

How to make correct fetch in Laravel?

I have a problem:
The table has the following scheme:
1e6715e17d3949778e69b3b0cc34a07f.jpg
How can I write a query so that all topics are pulled out from blogs to which the user is subscribed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2014-12-11
@Nc_Soft

In three queries:
Get blog id from blog_subscriptions
Get topics from topics by blog id
Get blogs from blogs by blog id
Wangyu Bathurt from join lovers...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question