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!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire