/** * * @throws \mysqli_sql_exception */ public function _query() { $this->_connection->ensureConnected(); //如果已经在结果缓存中,则搜寻结果集 $this->_connection->flushQueue($this); if (isset($this->_result)) { return; } $this->_connection->queryStatement($this); }