Documentation Home
MySQL PHP API
Download this Manual
PDF (US Ltr) - 2.4Mb
PDF (A4) - 2.4Mb
HTML Download (TGZ) - 250.9Kb
HTML Download (Zip) - 258.4Kb


MySQL PHP API  /  ...  /  mysqli::rpl_query_type, mysqli_rpl_query_type

3.9.45 mysqli::rpl_query_type, mysqli_rpl_query_type

Copyright 1997-2019 the PHP Documentation Group.

  • mysqli::rpl_query_type

    mysqli_rpl_query_type

    Returns RPL query type

Description

Object oriented style

int mysqli::rpl_query_type(string query);

Procedural style

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

This function is currently not documented; only its argument list is available.

Warning

This function has been DEPRECATED and REMOVED as of PHP 5.3.0.


User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.