jeudi 17 mars 2016

Laravel SQL Query in Eloquent?

How would I achieve this SQL query in Laravel's eloquent?

"SELECT * FROM `cardfields` 
WHERE cardfields.id NOT IN (select fieldassociation.field_id 
from fieldassociation where fieldassociation.card_id = $cardid)"



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire