String

APPEND

Append a value to a string stored at key.

Arguments

keybodystrrequired

The key to get.

valuebodyrequired

The value to append.

Response

intrequired

How many characters were added to the string.

Example
redis.set("key", "Hello")assert redis.append("key", " World") == 11assert redis.get("key") == "Hello World"
Loading search…