connecting mlab database with pouchdb

我的梦境 提交于 2019-12-12 02:21:58

问题


I'm trying to build an application which sync between offline and online,its working with cloudant and pouchdb,i want to use mlab instead of cloudant here is my code:

 this.db = new PouchDB('cloudo');

this.db = new PouchDB('cloudo');
 this.username = '';
    this.password = '';
    this.remote = 'https://oussemalaamiri.cloudant.com/museums/';

来源:https://stackoverflow.com/questions/43253097/connecting-mlab-database-with-pouchdb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!