I
I
IvanN7772018-07-05 08:18:28
PHP
IvanN777, 2018-07-05 08:18:28

What to choose in PHP for working with multiple ORM databases (allocation of common data to a separate database)?

I have a database of products for 15 sites.
I want to make one common database, and in the databases for stores, make only the properties open or hidden and go to the corresponding general data.
The difference on the sites is only hidden and open, why duplicate it.
But then the question arises Doctrine, as I understand it, works with one base.
And I need to either write in SQL, join from different databases.
Or, is that right?
Queues are kind of for queuing requests for controllers, not for getting related data.
A number of tables are large and not willing to store with duplicates.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BI0R0B0T, 2018-07-05
@IvanN777

Doctrine can work with multiple databases.
Example from the Symfony documentation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question