Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ASYNC option of flushAll and flushDb not documented in README #1503

@TysonAndre

Description

@TysonAndre

Expected behaviour

Documentation of $async should be in readme, since this functionality was implemented in #1302

Actual behaviour

https://github.com/phpredis/phpredis#flushall has incomplete documentation

Parameters
None.


/* {{{ proto bool Redis::flushDB([bool async]) */
PHP_METHOD(Redis, flushDB)
{
    REDIS_PROCESS_KW_CMD("FLUSHDB", redis_flush_cmd, redis_boolean_response);
}
/* }}} */

/* {{{ proto bool Redis::flushAll([bool async]) */
PHP_METHOD(Redis, flushAll)
{
    REDIS_PROCESS_KW_CMD("FLUSHALL", redis_flush_cmd, redis_boolean_response);
}
/* }}} */

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions