memcached append command


  Translation results:

UK[əˈpend] US[əˈpɛnd]

vt.Attach; add; paste; sign (name)

Third person singular: appends Present participle: appending Past tense: appended past Participle: appended

memcached append commandsyntax

Function: Used to append data to the value (data value) of an existing key (key).

Syntax: append key flags exptime bytes [noreply]value

Parameters: key: key-value in the structure key, used to look up cached values. flags: Integer parameter that can include key-value pairs, which is used by the client to store additional information about the key-value pair. exptime: How long to keep key-value pairs in the cache (in seconds, 0 means forever). bytes: The number of bytes stored in the cache. noreply (optional): This parameter tells the server that no data needs to be returned. value: The stored value (always located in the second line) (can be directly understood as the value in the key-value structure).

memcached append commandexample

set runoob 0 900 9
memcached
STORED
get runoob
VALUE runoob 0 9
memcached
END
append runoob 0 900 5
redis
STORED
get runoob
VALUE runoob 0 14
memcached
redis
END

Home

Videos

Q&A