©
本文档使用 PHP中文网手册 发布
(No version information available, might only be in Git)
mysqlnd_ms_fabric_select_shard — Switch to shard
$connection
, mixed $table_name
, mixed $shard_key
)本函数还未编写文档,仅有参数列表。
MySQL Fabric related.
Switch the connection to the shards responsible for the given table name and shard key.
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.
shard_key
The shard key to ask Fabric about.
FALSE
on error. Otherwise, TRUE
Note:
mysqlnd_ms_fabric_select_shard() requires PECL mysqlnd_ms >> 1.6.0.