File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ TRedisClient = class
144
144
function RedisZRANGE (const aKey : string; aStartPosition, aEndPosition : Int64) : TArray<string>;
145
145
function RedisZRANGEBYSCORE (const aKey : string; aMinScore, aMaxScore : Int64) : TArray<TRedisSortedItem>;
146
146
function RedisLLEN (const aKey : string): Integer;
147
- function RedisTTL (const aKey, aValue : string): Integer;
147
+ function RedisTTL (const aKey: string): Integer;
148
148
function RedisAUTH (const aPassword : string) : Boolean;
149
149
function RedisPING : Boolean;
150
150
function RedisQUIT : Boolean;
@@ -469,15 +469,15 @@ function TRedisClient.RedisLLEN(const aKey : string): Integer;
469
469
end ;
470
470
end ;
471
471
472
- function TRedisClient.RedisTTL (const aKey, aValue : string): Integer;
472
+ function TRedisClient.RedisTTL (const aKey : string): Integer;
473
473
var
474
474
rediscmd : IRedisCommand;
475
475
response : IRedisResponse;
476
476
begin
477
477
Result := 0 ;
478
478
rediscmd := TRedisCommand.Create(' TTL' )
479
479
.AddArgument(aKey)
480
- .AddArgument(aValue) ;
480
+ ;
481
481
response := Command(rediscmd.ToCommand);
482
482
if response.IsDone then
483
483
begin
You can’t perform that action at this time.
0 commit comments