Skip to content

There is an error in TRedisClientRedisSET in Quick.Data.Redis #143

@wuhao13

Description

@wuhao13

There is an error in TRedisClientRedisSET in Quick.Data.Redis. Here is the fix code

function TRedisClient.RedisSET(const aKey, aValue: string): Boolean;
var
  rediscmd : IRedisCommand;
begin
  rediscmd := TRedisCommand.Create('SET')
               .AddArgument(aKey)
               .AddArgument(aValue);
  Result := Command(rediscmd.ToCommand).IsDone;
end;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions