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

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

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