mysqlnd_ms_fabric_select_global

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

mysqlnd_ms_fabric_select_globalSwitch to global sharding server for a given table

说锟斤拷

mysqlnd_ms_fabric_select_global ( mixed $connection , mixed $table_name ) : array
Warning

锟斤拷锟斤拷锟斤拷锟斤拷未锟斤拷写锟侥碉拷锟斤拷锟斤拷锟叫诧拷锟斤拷锟叫憋拷

MySQL Fabric related.

Switch the connection to the nodes handling global sharding queries for the given table name.

锟斤拷锟斤拷

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.

锟斤拷锟斤拷值

FALSE on error. Otherwise, TRUE

注锟斤拷

Note:

mysqlnd_ms_fabric_select_global() requires PECL mysqlnd_ms >> 1.6.0.