6 months ago

eloquent query where post has no comments

Posted 6 months ago by esmaill23

i have two model or table with names posts and comments in relation one to many .

i want to retrieve all posts that has no comments .

how ?

Please sign in or create an account to participate in this conversation.