flushDB

PHP Redis

flushDB

Description

Removes all entries from the current database.

强制刷新当前DB。

Parameters

None.

Return value

BOOL: Always TRUE.

Example
$redis->flushDB();