vipzeus
Member
Im try to create e subquery in calc element but my tables are in another database on the same server.
What is the right syntax?
i tried this but does not work
What is the right syntax?
i tried this but does not work
Code:
//$myDb = FabrikWorker::getDbo(false, 2);
$myDb = \Joomla\CMS\Factory::getContainer(false, 2)->get('DatabaseDriver');
$query = $myDb->getQuery(true);