
An Embeddable Datastore Engine |
Tweet |
Follow @Vedis |
Vedis Built-in Commands - Key/Value.
Command
COPY old_key new_key
Description
Copy key values.
Return value
Boolean: True on sucess. FALSE otherwise.
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> COPY test message
(true)
vedis> APPEND test " World!"
12
vedis> GET test
Hello World!
vedis> GET message
Hello
(true)
vedis> COPY test message
(true)
vedis> APPEND test " World!"
12
vedis> GET test
Hello World!
vedis> GET message
Hello

Copyright © Symisc Systems