OpenSwoole\Core\Coroutine\Client\RedisConfig->withDbIndex

Latest version: pecl install openswoole-26.2.0 | composer require openswoole/core:26.2.0

Declaration

<?php OpenSwoole\Core\Coroutine\Client\RedisConfig->withDbIndex()

Parameters

database index

The database index of Redis.

Return

Description

Set the database index of Redis.

Last updated on September 16, 2022