eloquent query where post has no comments

Posted 1 month 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.

Reply to

Use Markdown with GitHub-flavored code blocks.