Php/docs/function.mysqlnd-ms-fabric-select-global

来自菜鸟教程
跳转至:导航、​搜索

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


说明

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

Warning 本函数还未编写文档,仅有参数列表。


MySQL Fabric related.

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


参数

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.


返回值

false on error. Otherwise, true


注释

Note:

mysqlnd_ms_fabric_select_global() requires PECL mysqlnd_ms >> 1.6.0.