mercredi 9 mars 2022

How to write a where not in query in laravel?

I want to write a Where not in query in laravel. I wrote in sql it's working fine please help me convert the query to laravel.

This is the query...

SELECT * 
FROM `apiaccessauth` 
WHERE `site_name` NOT IN (
                SELECT `site_name` 
                FROM `API_site_access_log` 
                WHERE `created_at` LIKE '%2021-10-15%'
                );


from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/bOGhSTF
via IFTTT

Aucun commentaire:

Enregistrer un commentaire