ive got products an articles. An article belongs to a product, so ive got the hasMany-Relationship in my product class and the belongsTo relation in my article class.
Ok now i can grab all articles of a certain product. But what i need is the following:
I want to display only the products which got at least one article. Do i have to use a db-query for that or can i use the eloquent mechanisms for that?
Thanks in advance.
regards