Hi, i want to create a documents by using Node.js script.
I used following code from this link
myBucket.insert('document_name', {some:'value'}, function(err, res) {
console.log('Success!');
});
Here i have query. why should i have to pass document name every time, is there any alternative to take unique id automatically.
i used coucbase lite, now i want access coucbase lite data on web browser by using Node.js script. On coubase lite, i had never gave any document name and id. all are generated automatically.