Please help with this subquery to transpile to Eloquent sentence:
SELECT * FROM notifications WHERE id NOT IN (SELECT notification_id FROM notification_seen WHERE user_id = 1)
Sql sentence works perfect on MySql testing, but got some problems when transpile it to Laravel Eloquent.
Thanks.
subquery MySQL transpile to Laravel Eloquent sentence.
New contributor
MauricioB is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.