Hello!
Another question about splitting data over multiple databases. Now about "Horisontal Sharding" https://docs.phalcon.io/en/latest/reference/models.html#setting-multiple-databases
I know that using function selectReadConnection
I can choose right connection according to the current query conditions when I want retrieve data from the database.
But, how to choose right connection when I want put (INSERT, UPDATE) data in the database?