select

PHP Redis

select

Description

Switches to a given database.

选择数据库

Parameters

INTEGER: dbindex, the database number to switch to.

整数值:数据库索引,数据库的ID

Return value

TRUE in case of success, FALSE in case of failure.

Example

(See following function)