I have used Below Query to update column in database but it do not update column but when I remove join then it update database.
`$userrequestforcasecopy=DB::table('user')
-> leftJoin('token','user.id','=','token.request_id')
->where('user.id',$rowId)
->update(['approved_status'=> 2]);`
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3mWXF7F
via IFTTT
Aucun commentaire:
Enregistrer un commentaire