Set集合方式操作
bucket.upsert('name-set', ["revin"], function(err, result) {
if (err) throw err;
console.log(result);
});
集合中添加数据

判断集合中是否存在某值
获取集合大小
删除集合中的值

Last updated
bucket.upsert('name-set', ["revin"], function(err, result) {
if (err) throw err;
console.log(result);
});


Last updated
bucket.setAdd('name-set', "xiaowang", function(err, result) {
if (err) throw err;
console.log(result);
});bucket.setExists('name-set', "xiaowang", function(err, result) {
if (err) throw err;
console.log(result.value);
});truebucket.setSize('name-set', function(err, result) {
if (err) throw err;
console.log(result.value);
});2bucket.setRemove('name-set', 'revin',function(err, result) {
if (err) throw err;
console.log(result.value);
});