PHP 7.4.0RC6 Released!

mysqlnd_ms_fabric_select_shard

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

mysqlnd_ms_fabric_select_shardSwitch to shard

Descrierea

mysqlnd_ms_fabric_select_shard ( mixed $connection , mixed $table_name , mixed $shard_key ) : array
Avertizare

Această funcție nu este documentată în prezent; este disponibilă numai lista sa de argumente.

MySQL Fabric related.

Switch the connection to the shards responsible for the given table name and shard key.

Parametri

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.

Valorile întoarse

FALSE on error. Otherwise, TRUE

Note

Notă:

mysqlnd_ms_fabric_select_shard() requires PECL mysqlnd_ms >> 1.6.0.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top