Open aharish opened 3 months ago
I'm planning to publish a new article on how to properly use the new adapter once I've finished testing it on my app.
Awesome, looking forward to it!
check out the guide: https://www.devas.life/the-fastest-way-to-use-pouchdb-on-react-native-0-73/
Hello Takuya! Thanks so much for the library, and for adding a fast backend for PouchDB on React Native!
I have been using the v4 branch since you pushed it out a few weeks ago. It mostly works fine, but I am running into issues with using map/reduce queries.
Just running a map query by itself works fine, either with an indexed view, or as a temporary query. However, when running it with a reduce function, this error gets thrown.
My project is setup similar to the one in the example directory of the v4 branch.
Here is the map/reduce function I am calling via
db.query
:The above query has been tested in a React app with PouchDB and also in a CouchDB server and does work without any issues.
Please let me know if there is any further logs I can provide.
Reproduction should be possible with any map/reduce query as far as I am aware. I have a couple other simpler reduce queries that also throw the same error.