Symisc Vedis

An Embeddable Datastore Engine



Vedis Built-in Commands - Key/Value.

Command

APPEND key value


Description


If key already exists and is a string, this command appends the value at the end of the string. If key does not exist it is created and set as an empty string, so APPEND will be similar to SET in this special case.


Return value


Integer: The length of the string after the append operation.


Example


Refer to the download page for some C/C++ samples on how to invoke this command from your host application.



vedis> SET test "Hello"
(true)
vedis> GET test
Hello

vedis> APPEND test " World!"
12

vedis> GET test
Hello World!





Symisc Systems
Copyright © Symisc Systems