问题
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