Y
Y
yuklia_12015-04-01 16:41:25
Doctrine ORM
yuklia_1, 2015-04-01 16:41:25

Why is the Doctrine field not updating?

The table has 2 columns referring to the same entity. For some reason, only one of them is updated.

$user = $this->readOne($primary);
        $user = $this->getUser($data, $user);
        $this->entityManager->merge($user);
        $this->entityManager->flush();

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question