PHP » GoLang |
login |
register |
about
|
GoLang mysqlnd_uh_set_connection_proxy
request it (444)
GoLang replacement for PHP's mysqlnd_uh_set_connection_proxy
[edit | history]
PHP mysqlnd_uh_set_connection_proxyPHP original manual for mysqlnd_uh_set_connection_proxy [ show | php.net ]mysqlnd_uh_set_connection_proxy(PECL mysqlnd-uh >= 1.0.0-alpha) mysqlnd_uh_set_connection_proxy — Installs a proxy for mysqlnd connections Description
bool mysqlnd_uh_set_connection_proxy
( MysqlndUhConnection
&$connection_proxy
[, mysqli &$mysqli_connection
] )Installs a proxy object to hook mysqlnd's connection objects methods. Once installed, the proxy will be used for all MySQL connections opened with mysqli, mysql or PDO_MYSQL, assuming that the listed extensions are compiled to use the mysqlnd library.
The function can be disabled with
mysqlnd_uh.enable.
If mysqlnd_uh.enable
is set to Parameters
Return Values
Returns Examples
Example #1 mysqlnd_uh_set_connection_proxy() example
<?php The above example will output: proxy::query(array ( 0 => NULL, 1 => 'SELECT \'mysqlnd rocks!\'', )) proxy::query returns true proxy::query(array ( 0 => NULL, 1 => 'SELECT \'Ahoy Andrey!\'', )) proxy::query returns true proxy::query(array ( 0 => NULL, 1 => 'SELECT \'Moin Johannes!\'', )) proxy::query returns true See Also
|
more
Recently updated
more
Most requested
more
Last requests
|