B
B
BonBon Slick2021-03-13 00:01:30
Doctrine ORM
BonBon Slick, 2021-03-13 00:01:30

Link indexes?

Here is an example on simple type

A is not that.

Why can't you say so?

<entity name="App\Domain\UserPack\Password\Entity\UserPassword">
        <indexes>
            <index name="search_idx" columns="user"/>
        </indexes>

        <embedded name="id" class="App\Domain\Core\ValueObjects\EntityId" use-column-prefix="false"/>
...
        <many-to-one target-entity="App\Domain\UserPack\User\Entity\User"
                     field="user"
                     inversed-by="passwords"
        >
..
            <join-column name="user_uuid" referenced-column-name="uuid"/>
        </many-to-one>

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