mysqlnd_ms_fabric_select_shard
(No version information available, might only be in Git)
mysqlnd_ms_fabric_select_shard — Switch to shard
説明
警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
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
注意
注意:
mysqlnd_ms_fabric_select_shard() requires PECL mysqlnd_ms >> 1.6.0.