Answer the question
In order to leave comments, you need to log in
How to get a list of products, given their availability in the desired ones?
Good afternoon.
The situation is this: there are three tables
users - id, ...;
products - id, ...;
user_wishlist_products - id, user_id, product_id, ...;
Answer the question
In order to leave comments, you need to log in
Well, if completely with the help of eloquent, then there is "withCount" , incl. with selection, which can then be converted to boolean
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question