All Questions
11
questions
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 ...
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 ...
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 ...
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: ...
-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 ...
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)...
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;
...
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 ...
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> = ...
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 ...
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 ...