L
L
lemonlimelike2018-04-25 15:48:19
Laravel
lemonlimelike, 2018-04-25 15:48:19

How to use inner join in Eloquent ORM query?

How to make such request in orm?

UPDATE info_users AS iu
INNER JOIN bets AS b ON b.user = iu.user_id
SET iu.balans = b.summa * 1
WHERE b.id_match = 2 AND b.name = 'SK'

How to use inner join in orm query?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2018-04-25
@lemonlimelike

https://laravel.com/docs/5.6/queries#joins
First paragraph

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question