CornerShot
« Swoole\MySQL::on
Swoole\MySQL\Exception »
PHP Manual
Swoole\MySQL
Run the SQL query.
Swoole\MySQL::query
(PECL swoole >= 1.9.0)
Swoole\MySQL::query
—
Run the SQL query.
Description
public
Swoole\MySQL::query
(
string
$sql
,
callable
$callback
):
ReturnType
Parameters
sql
callback
Return Values