samedi 30 avril 2016

Laravel RelationShip( join with where)

i need help on laravel 5(use Eloquent)

I have 2 tables

Model Driver drivers

  • id
  • company

Model DriverOnline drivers_online

  • id
  • name
  • driver_id

I need seatch result on (commany=1 and driver_id=driver.id) help me!



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1NJkjOf
via IFTTT

Aucun commentaire:

Enregistrer un commentaire