« Swoole\MySQL::on Swoole\MySQL\Exception » PHP Manual Swoole\MySQL Run the SQL query. Swoole\MySQL::query (PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0) Swoole\MySQL::query — Run the SQL query. 说明 public Swoole\MySQL::query ( string $sql , callable $callback ) : ReturnType 参数 sql callback 返回值