I have 2 queries :
$branch_workstations = \Workstation::where('branchid', $user->branchid)
->select('workstationid')
->get();
$branch_updated = \WorkstationsUpdated::where('branchid', $user->branchid)
->select('workstation')
->get();
I want to know if values of branch updated exists in branch the result of the first query ($branch_workstations)
Any help ?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2EyCP9H
via IFTTT
Aucun commentaire:
Enregistrer un commentaire