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 ?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire