Level 73
->whereRelation('post', 'rate', '!=', null)
what is the equivalent for whereHas('post', fn($q) => $q->whereNotNull('rate')) when using whereRelation ?
->whereRelation('post', 'rate', '!=', null)
Please or to participate in this conversation.