pouchdb-hoodie-api icon indicating copy to clipboard operation
pouchdb-hoodie-api copied to clipboard

:dog: Hoodie-like API for PouchDB

Results 12 pouchdb-hoodie-api issues
Sort by recently updated
recently updated
newest added

Hello, It could be nice to have an idiomatic usage of add with the other method like updateOrAdd. I would simply be cool that hoodie API take the `id` property...

I would be nice to provide types definitions/a dts :)

We once had a very simple, beautiful solution for events in `pouchdb-hoodie-api`: we started listening to PouchDB’s changes feed and used that to emit `add`, `update` and `change` events. But...

ready

follow up for https://github.com/hoodiehq/pouchdb-hoodie-api/pull/75#issuecomment-139851044 Just checked it locally and could reproduce it with [email protected], but not with 4.0.1. @nickcolley are you looking into this already? It must have be something...

So we've been using Hoodie in a project like this: ``` js hoodie.store.updateOrAdd({artist: 'Shellac', title: 'Riding Bikes'}) ``` and ran into the following Pouch error which left us a bit...

question

follow up for https://github.com/hoodiehq/hoodie/issues/202 Use case: continuously saving a text entered by a user with every key stroke. Instead of creating thousands of revisions, we want to store the current...

We've got a [skipped .clear test](https://github.com/hoodiehq/pouchdb-hoodie-api/blob/master/tests/specs/clear.js#L16) that was blocked on the fact that PouchDB does not reinitilize the database, but now downstream we've worked around this with a .reset method...

``` js var PouchDB = require('pouchdb').defaults({db: require('memdown')}) PouchDB.plugin(require('.')) var db = new PouchDB('foo') var api = db.hoodieApi() api.clear() .then(function () { console.log('cleared') return api.add({}) }) .then(console.log) .catch(console.log) ``` This code...

bug

It doesn't make sense to require it on its own like add, remove or update. It also triggers an event which we don't do in the methods that can be...

bug
starter

follow up for https://github.com/hoodiehq/hoodie/issues/427 ideally tell why the id is invalid, what rules apply.