Closed telenskyt closed 9 years ago
redisTTL() function is returning undocumented value of -2 for a non-existent key. It should probably return -1 or the documentation should contain the description of another return value of -2.
redisTTL()
The doc should be fixed in commit https://github.com/bwlewis/rredis/commit/e13e34ff6fbbeca6b5fcf057dd66c6d30749e765
redisTTL()
function is returning undocumented value of -2 for a non-existent key. It should probably return -1 or the documentation should contain the description of another return value of -2.