Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
1.2.0
-
Security Level: Public
-
MacOS
Description
I'm using the Get Started instructions for node.js and the page (http://www.couchbase.com/communities/nodejs/getting-started) is referring to the method delete() in the text when this gives an error message:
db.delete(beer_id, function(err, result) { });
^
TypeError: Object #<Connection> has no method 'delete'
Upon checking the source I found that it needs to be renamed into remove() to delete a dataset.
I'm just a newbie but please either correct the documentation on Getting Started (which is frustrating if you take every step and get an error message that isn't your error) or change the source code back method delete ()
Either way, it's a minor for you guys but a bigger annoyance for newbies to node.js and CouchBase like me.
Hope I did all right to report and BTW, when I want to ask a question via the node.js community I can enter everything and press submit, only to be presented with an error that my question wasn't posted (see attached error message). Sorry to post it here but I can't post it there obviously!
Andreas