GoLang mysqlnd_ms_fabric_select_global

request it (310)
GoLang replacement for PHP's mysqlnd_ms_fabric_select_global [edit | history]



Do you know a GoLang replacement for PHP's mysqlnd_ms_fabric_select_global? Write it!

PHP mysqlnd_ms_fabric_select_global

PHP original manual for mysqlnd_ms_fabric_select_global [ show | php.net ]

mysqlnd_ms_fabric_select_global

(No version information available, might only be in Git)

mysqlnd_ms_fabric_select_globalSwitch to global sharding server for a given table

Description

array mysqlnd_ms_fabric_select_global ( mixed $connection , mixed $table_name )
Warning

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

MySQL Fabric related.

Switch the connection to the nodes handling global sharding queries for the given table name.

Parameters

connection

A MySQL connection handle obtained from any of the connect functions of the mysqli, mysql or PDO_MYSQL extensions.

table_name

The table name to ask Fabric about.

Return Values

FALSE on error. Otherwise, TRUE

Notes

Note:

mysqlnd_ms_fabric_select_global() requires PECL mysqlnd_ms >> 1.6.0.