kevy4.0

APPEND

Append bytes to a string value; returns the new length.

APPEND key value
Group
String
Since
1.0.0
Arity
exactly 3
Flags
write

Complexity

O(1) amortised while the value is <= 64 B; O(N) per call once it exceeds that (the Arc payload is copied out and re-boxed on every append), so building a large string by repeated APPEND is O(N^2)

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Compatible

Behaves as Redis does.

See also

DECRDECRBYGETGETDELGETSETINCRINCRBYINCRBYFLOATMGETMSETPSETEXSETSETEXSETNXSTRLEN

← All commands