1
我的代码:我怎么能自动增量文档ID在对的NodeJS Couchbase
bucket.insert("docid", jsonVersion, function (err, response) {
if (err) {
console.log('Failed to save to Couchbase', err);
return;
} else {
res.send('Saved to Couchbase!');
}
});
我怎么能自动增加文件编号,当我从Web表单的数据。
我正在使用Nodejs和Couchbase。
http://docs.couchbase.com/developer/java-2.1/documents-atomic.html – Hackerman