Funciones de mysqlnd_ms
PHP Manual

mysqlnd_ms_fabric_select_shard

(No hay información de versión disponible, podría estar únicamente en SVN)

mysqlnd_ms_fabric_select_shardSwitch to shard

Descripción

array mysqlnd_ms_fabric_select_shard ( mixed $connection , mixed $table_name , mixed $shard_key )
Advertencia

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

MySQL Fabric related.

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

Parámetros

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.

Valores devueltos

FALSE on error. Otherwise, TRUE

Notas

Nota:

mysqlnd_ms_fabric_select_shard() requires PECL mysqlnd_ms >> 1.6.0.


Funciones de mysqlnd_ms
PHP Manual