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