跳到主要内容

update

更新数据(增量更新)

声明

bool update(string key, mixed data, bool upsert = false)

参数

参数名描述
keykey
data数据
upsert是否插入

返回值

是否成功

使用方式

返回文档