A
A
Alexander2015-07-29 12:02:37
symfony
Alexander, 2015-07-29 12:02:37

Is it possible to create many tables on one entity?

There is Entity
House (id, name, param1,....)
HouseElement (id, id_house, element, count, ....)
That is, all elements fall into the HouseElement table. Since there are a lot of elements (hundreds of houses with hundreds of elements), I would like to divide them into separate tables HouseElement_1, HouseElement_2, HouseElement_3, ....
Is it possible to somehow implement this on Symfony2 + Doctrine2?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Ivanov, 2015-07-29
@Writerim

look at partitioning

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question