mysqli::rpl_query_type

mysqli_rpl_query_type

(PHP 5)

mysqli::rpl_query_type -- mysqli_rpl_query_typeReturns RPL query type

說明

物件導向風格

int mysqli::rpl_query_type ( string $query )

程序化風格

int mysqli_rpl_query_type ( mysqli $link , string $query )

Returns MYSQLI_RPL_MASTER, MYSQLI_RPL_SLAVE or MYSQLI_RPL_ADMIN depending on a query type. INSERT, UPDATE and similar are master queries, SELECT is slave, and FLUSH, REPAIR and similar are admin.

Warning

此函式目前沒有參考文件;只有引數列表。

Warning

自 PHP 5.3.0 起,已經廢棄移除此函式。

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top