Answer the question
In order to leave comments, you need to log in
How to update in Doctrine with a single request with a binding to the manager?
After updating the list of data, they are updated only in the database. entityManager - does not see changes at runtime.
return $this->createQueryBuilder('l')
->update()
->set('l.some', ':some')
->where('l.val = :val')
// ....
return $this->createQueryBuilder('l')
->andWhere('l.val = :val')
// ....
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question