bucket.upsert('name-set', ["revin"], function(err, result) {
if (err) throw err;
console.log(result);
});
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);
});
bucket.setSize('name-set', function(err, result) {
if (err) throw err;
console.log(result.value);
});
bucket.setRemove('name-set', 'revin',function(err, result) {
if (err) throw err;
console.log(result.value);
});