MDSLKTR / pouch-vue

Pouchdb bindings for Vue.js
MIT License
90 stars 17 forks source link

Example "Reactive & Live Selectors (Mango Queries)" not working #31

Open BananaAcid opened 5 years ago

BananaAcid commented 5 years ago

Mixing the first Example with the "Reactive & Live Selectors (Mango Queries)", self.peopleInOtherDatabase is always []

self.todos is filled as it should.

Are there any other requirements? is .sync( ...todos ) not establishing the connection to be used for all databases, even with the database: option? (at least the _users should return the currently logged in user's related entry)

Explaining this at the readme would be great.

BananaAcid commented 5 years ago

... please add to the docs, something along these lines: "using a string, you need to use the full URL to the database (server, optionally port, the database name). The database name is not enough. It is handled as a new connection - your default DB URL is not used."