Sitelet https://github.com/phpredis/phpredis/issues/2512
Skip to content

Add a description of the getEx method to the documentation. #2512

Description

@13ilya-old

We need an analog of the command
$value = $redis->rawCommand('GETEX', $key, 'EX', $ttl);
Only native without using the rawCommand() method.
$value = $redis->getEx($key, $ttl);
or
$value = $redis->getEx($key, 'ex', $ttl);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions