You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
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);