Level 80
@khushbudadhania You’ll probably want to use the doesntHave() method on your contacts relation.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am having three tables :
users: id, name contacts : id, name contact_user : id, user_id, contact_id user_invites : id,user_id, contact_id, status
Now I want data of specific user's contact list(got from contact_user), who has not send invitation(that user contact entry is not in user_invites table)
Please or to participate in this conversation.