mysqlnd_ms_fabric_select_shard(3) php man page | unix.com

Man Page: mysqlnd_ms_fabric_select_shard

Operating Environment: php

Section: 3

MYSQLND_MS_FABRIC_SELECT_SHARD(3)					 1					 MYSQLND_MS_FABRIC_SELECT_SHARD(3)

mysqlnd_ms_fabric_select_shard - Switch to shard

SYNOPSIS
array mysqlnd_ms_fabric_select_shard (mixed $connection, mixed $table_name, mixed $shard_key)
DESCRIPTION
Warning This function is currently not documented; only its argument list is available. MySQL Fabric related. Switch the connection to the shards responsible for the given table name and shard key.
PARAMETERS
o $connection - A MySQL connection handle obtained from any of the connect functions of the mysqli, mysql or PDO_MYSQL extensions. o $table_name - The table name to ask Fabric about. o $shard_key - The shard key to ask Fabric about.
RETURN VALUES
FALSE on error. Otherwise, TRUE
NOTES
Note mysqlnd_ms_fabric_select_shard(3) requires PECL mysqlnd_ms >> 1.6.0. PHP Documentation Group MYSQLND_MS_FABRIC_SELECT_SHARD(3)
Related Man Pages
pg_copy_from(3) - php
mysqlnd_ms_dump_servers(3) - php
mysqlnd_ms_get_last_gtid(3) - php
mysqlnd_ms_xa_begin(3) - php
mysqlnd_ms_xa_commit(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Denial Of Service Attack Update