public function loadQuery($sql, array $args = array(), $dsId = null) { if (!$dsId) { $dsId = $this->getSchema()->getReadSourceId(); } $this->handle = ConnectionManager::getInstance()->getConnection($dsId)->prepareAndExecute($sql, $args); }