Skip to main content

All Questions

Tagged with
1 vote
1 answer
512 views

pouchdb or alternative where I can control how much data stored locally?

In the design stage for an app that collects large amounts of data... Ideally, I want it to be an offline-first app and was looking to Pouchdb/Counchdb - However, the data needs to be kept for years ...
baradhili's user avatar
  • 564
1 vote
0 answers
383 views

How to use RxDB with PouchDB adapter in a Nuxt 3 project?

I'm using Nuxt 3 with client side rendering and I'm having some issues making RxDB with PouchDB adapter to work. I'm having issues getting RxDB/PouchDB to work. :/ Excerpt from nuxt.config.ts (I tried ...
HypeWolf's user avatar
  • 820
3 votes
0 answers
463 views

Rxdb sync not update db

There are 3 bases (front, node, remote). Front <=> node, node <=> remote. When the front base is updated, the data goes to the remote base, but the node is not updated. In theory, the node ...
Denis Makarov's user avatar
1 vote
1 answer
296 views

Why is the vanilla JS example for RxDB not working

I've followed the instructions at GitHub, but the example doesn't work. The app shows "Starting database". At the browser console there is this error: Uncaught (in promise) TypeError: ...
FredVal's user avatar
  • 11
-1 votes
1 answer
224 views

How to sync revisions when calling bulkDocs on pouchdb instance in RxDB

I'm trying to bulk update some RxDB docs, since RxDB does not have a bulk update function I have to use the bulkDocs function on the built in pouchdb instance. I can successfully do this but then my ...
Jessie Slobogian-Sanford's user avatar
3 votes
0 answers
771 views

Rxdb: Purge deleted items and old revisions by manually replicating (copying) rxdb database?

I'm looking for a way to replicate an rxdb instance locally, in the browser (local storage to local storage). I read somewhere that this is the only way to purge deleted items (can't find the link now)...
yen's user avatar
  • 2,092
1 vote
0 answers
125 views

Rxdb migration is not running

I have a schema with version 0, and 4k docs with it. Changing version to 1, have the following strategy: autoMigrate: true, migrationStrategies: { 1: (r: any) => { debugger; ...
Vladimir Mikhaylovskiy's user avatar
0 votes
1 answer
686 views

rxdb: migration of document failed final document does not match final schema

I just changed my rxdb schema version from 0 to 1 in order to add a deletedAt attribute. I added a migration strategy for going from ver 0 to 1. Now I'm getting this error: "migration of document ...
yen's user avatar
  • 2,092
3 votes
1 answer
1k views

RxDb, cannot sort on field(s) XXX when using the default index

I just discovered RxDb, which as far as I understand is running PouchDB underneath, in any case, I have defined a fairly simple schema for an entity: let nodeSchema: RxJsonSchema<NodeDocType> = ...
Oscar Franco's user avatar
  • 6,050
4 votes
1 answer
2k views

How to handle JWT authentication with RxDB?

I have a local RxDB database and I want to connect it with CouchDB. Everything seems to works fine except for authentication. I have no idea how to add it differently then inserting credentials in ...
Alan Wołejko's user avatar
1 vote
0 answers
918 views

Cannot get RxDb MigrationStrategies to run

I am trying to implement a simple migrationStrategy as described in the docs here: https://rxdb.info/data-migration.html I wanted to know if anyone has successfully implemented migrationStrategies as ...
Njinu Kimani's user avatar