mysqli::rpl_query_type

mysqli_rpl_query_type

(PHP 5, PHP 7)

mysqli::rpl_query_type -- mysqli_rpl_query_typeReturns RPL query type

Opis

Styl obiektowy

mysqli::rpl_query_type ( string $query ) : int

Styl proceduralny

mysqli_rpl_query_type ( mysqli $link , string $query ) : int

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.

Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

Ostrzeżenie

Ta funkcja jest PRZESTARZAŁA i zostanie USUNIĘTA od PHP 5.3.0.

add a note add a note

User Contributed Notes

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