Description
Switches to a given database.
选择数据库。默认有16个数据库,这个值可以在redis.conf中配置。
Parameters
INTEGER: dbindex, the database number to switch to.
整数值:数据库索引,数据库的ID
Return value
TRUE in case of success, FALSE in case of failure.
返回true表示成功,false表示失败。
Description
Switches to a given database.
选择数据库。默认有16个数据库,这个值可以在redis.conf中配置。
Parameters
INTEGER: dbindex, the database number to switch to.
整数值:数据库索引,数据库的ID
Return value
TRUE in case of success, FALSE in case of failure.
返回true表示成功,false表示失败。