Memcached 教程
Memcached append 命令用于向已存在 key(鍵) 的 value(數(shù)據(jù)值) 后面追加數(shù)據(jù) 。
append 命令的基本語法格式如下:
append key flags exptime bytes [noreply] value
參數(shù)說明如下:
實例如下:
set json 0 900 9 memcached STORED get json VALUE json 0 9 memcached END append json 0 900 5 redis STORED get json VALUE json 0 14 memcachedredis END
如果數(shù)據(jù)添加成功,則輸出:
STORED
輸出信息說明: