How to write this code in eloquent method ?
$product = DB::table('products')
->join('purchase', 'products.id', '=', 'purchase.id')
->join('sales', 'purchase.id', '=', 'sales.id')
->select('sales.*', 'purchase.*','products.*')
->get();
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3jr1UXQ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire