mysqlnd_ms_fabric_select_shardSwitch to shard
&reftitle.description;
arraymysqlnd_ms_fabric_select_shardmixedconnectionmixedtable_namemixedshard_key
&warn.undocumented.func;
MySQL Fabric related.
Switch the connection to the shards responsible for the
given table name and shard key.
&reftitle.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.
shard_key
The shard key to ask Fabric about.
&reftitle.returnvalues;
&false; on error. Otherwise, &true;
&reftitle.notes;
mysqlnd_ms_fabric_select_shard requires
PECL mysqlnd_ms >> 1.6.0.