How to connect multiple database in phalcon framework at the same time use both in model class not only one
In my code I have two database ABC and XYZ . I want to use both database in same model than What is the solution for it in phalcon? How to implement multiple database connection for this ? one <?php //This service returns a MySQL database $di->set('dbMysql', function() { return new \Phalcon\Db\Adapter\Pdo\Mysql(array( "host" => "localhost", "username" => "root", "password" => "secret", "dbname" => "invo" )); }); //This service returns a PostgreSQL database $di->set('dbPostgres', function() { return new \Phalcon\Db\Adapter\Pdo\PostgreSQL(array( "host" => "localhost", "username" => "postgres",