/** * @param QueryInterface $query * @param array $params * * @return ResultInterface */ public function executeRead(QueryInterface $query, array $params = []) { $result = $this->mysqlEmulator->getResult($query); if ($result) { return $result; } return $this->vitess->executeRead($query, $params); }
/** * @return PDO\Vitess\ClusterConfig */ public function getClusterConfig() { return $this->vitess->getClusterConfig(); }