Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- InfoUser::join('bets AS b','b.user','=','info_users.user_id')
- ->where([
- ['b.id_match','=',$request->id_match],
- ['b.name','=',$request->win]
- ])
- ->update(['info_users.balans' => 'b.summa'*$request->koof]);
Add Comment
Please, Sign In to add comment