我正在使用此Node.js模塊nano 爲什麼我無法更新我的文檔?我會想瘋狂:真實,然後再次虛假。 這是我的代碼: var nano = require('nano')('http://localhost:5984');
// clean up the database we created previously
nano.db.destroy('alice', function() {
我說CouchDB的Update功能到我的代碼的功能,並處於正常,但是當我使用的這裏面bot.onText(/^[\/!#]start$/, msg => {我有這樣的錯誤: Unhandled rejection TypeError: alice.update is not a function
at Object.bot.onText.msg [as callback]
如何我應