MySQLi
PHP Manual

mysqli::refresh

mysqli_refresh

(PHP 5 <= 5.3.0)

mysqli::refresh -- mysqli_refreshRefreshes

说明

面向对象风格

public bool mysqli::refresh ( int $options )

过程化风格

int mysqli_refresh ( resource $link , int $options )

Flushes tables or caches, or resets the replication server information.

参数

link

仅以过程化样式:由mysqli_connect()mysqli_init() 返回的链接标识。

options

The options to refresh, using the MYSQLI_REFRESH_* constants as documented within the MySQLi constants documentation.

See also the official » MySQL Refresh documentation.

返回值

TRUE if the refresh was a success, otherwise FALSE

参见


MySQLi
PHP Manual