'How to change SQL query laravel equivalent query
I have written a SQL query as below
select id from users where fname not in (select fname from blocked_users);
It is working as expected. Can anyone help me to convert this to a laravel equivalent query?
Thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
