S
S
symnoob2021-02-10 19:29:06
symfony
symnoob, 2021-02-10 19:29:06

Symfony - What's the best way to update related entries?

What is the best way to update Entries?

There are two Entities with OneToMany relation, what is the best way to update such relations?

this is how the request comes in:

{
    "id": 1,
    "images": { // images - есть ли какая фишка для удаления, добавления ?
        "ids": [
            2,
            1
        ]
    }
}

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