public function doQuery($sql, $isExecute = false, $method = 'fetch', $fetchMode = null, $forRead = null){
        if ($forRead || $forRead === null && $this->db->getSchema()->isReadQuery($sql)) {
            $pdo = $this->db->getSlavePdo();
        } else {
            $pdo = $this->db->getMasterPdo();
        }
        return $pdo->doQuery($sql, $isExecute, $method, $fetchMode);
    }