Swoole\MySQL::query

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\MySQL::queryRun the SQL query.

Description

public Swoole\MySQL::query ( string $sql , callable $callback ) : ReturnType

Parameters

sql

callback

Return Values