« Swoole\Module
Swoole\MySQL::close »
PHP Manual
Swoole
The Swoole\MySQL class
検索
The Swoole\MySQL class
(PECL swoole >= 1.9.0)
はじめに
クラス概要
class
Swoole\MySQL
{
/* メソッド */
public
function
close
():
void
public
function
connect
(
array
$server_config
,
callable
$callback
):
void
public
function
__destruct
():
void
public
function
getBuffer
():
ReturnType
public
function
on
(
string
$event_name
,
callable
$callback
):
void
public
function
query
(
string
$sql
,
callable
$callback
):
ReturnType
}
目次
Swoole\MySQL::close
— Close the async MySQL connection.
Swoole\MySQL::connect
— Connect to the remote MySQL server.
Swoole\MySQL::__construct
— Construct an async MySQL client.
Swoole\MySQL::__destruct
— Destroy the async MySQL client.
Swoole\MySQL::getBuffer
— Description
Swoole\MySQL::on
— Register callback function based on event name.
Swoole\MySQL::query
— Run the SQL query.
関連キーワード:
MySQL
Swoole
callback
callable
query
async
connect
server
destruct
getBuffer
ReturnType
event
client
Module
swoole
概要
config
目次
connection
Connect
remote
construct
Construct
Destroy
Description
関連する関数・ページ:
swoole-mysql.destruct
swoole-mysql.close
swoole-mysql.query
swoole-mysql.construct
swoole-mysql.getbuffer
swoole-mysql.connect