Questions tagged [rxdb]
The rxdb tag has no usage guidance.
rxdb
53
questions
0
votes
0
answers
26
views
implementing RxDb with my mern application
I an a total noob and I'm tying to use Rxdb with my mern application for offline experience
I'm trying to use Rxdb to save some data locally present in mongodb for offline use. in a normal mern ...
0
votes
1
answer
92
views
NG0602 when using RxDB reactivity factory
My use case: Use a reactive rxDB.collection.find().$$() inside a computed angular signal. I am quite sure I am misreading the current documentation :/
Reading the current RxDB documentation I can see ...
0
votes
1
answer
50
views
RxDB "Cannot open database state with newer RxDB version" error when trying to update from v13 to v15
I'm trying to update my RxDB database from version 13 to version 15, but I'm encountering a very strange error:
bootstrap.tsx:242 RxError (DM5): RxError (DM5):
Cannot open database state with newer ...
1
vote
1
answer
101
views
Add item to nested array in RXDB
I am using RXDB for the first time and i am a bit of trouble understanding how to add data to a document.
I have a "boards" collection, which i can get with db.boards;
Boards have "...
2
votes
0
answers
112
views
How to sync an RxDB instance with the actual IndexedDB when switching tabs? ( multitab )
I have a web application that uses RxDB ( https://rxdb.info/ ) to store data in indexedDB. I encountered an issue where when I clear the data in indexedDB using the clearTODOS method in one tab, the ...
0
votes
0
answers
75
views
How handle rxdb .$.subscribe with replication
i my case,
i m using myDatabase.collections.opportunities.$.subscribe(
that must save any historical step/changes for each. where there differences between documentData and previousDocumentData on &...
0
votes
0
answers
50
views
Failed to add collection:', [Error: ensureNotFalsy() is falsy] - React native
I'm working on react native project where method is written in react and I want to save the collection. I'm using SQLite rxdb plugin to save it but getting this error everytime. even I tried with ...
0
votes
0
answers
69
views
RxDB RxDatabaseBase DexieError
I am trying to implement signalDb with RxDB
Just following this example by signalDb
(Here's the source code of this example)
Ang I got this error:
DexieError {_e: Error
at getErrorWithStack (http:...
0
votes
1
answer
120
views
rxDB incrementalPatch when there is an object
I am using rxDB like this to update my document:
await doc.incrementalPatch({
...newDoc,
updated_at: new Date().toUTCString(),
});
However I get this issue:
RxError (DOC6):
RxDocument....
0
votes
0
answers
111
views
RXDB Application and data storage size issue
I'm working on a web app using RXDB as a client side database and MongoDB as a server side database.
Currently, local RXDB browser databases contain exactly the same data as the server side db.
This ...
1
vote
0
answers
170
views
Electron - unable to use rxdb in vuejs renderer process
I'm trying to use rxDB inside my electron vue app. I've followed the guide on how to implement it inside the renderer process, and I have the following code in my App.vue file:
// Importo dipendenze ...
1
vote
0
answers
485
views
error in rxdb:Cannot read properties of undefined (reading 'key')?
enter image description here
rx-schema-helper.ts:104 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'key')
at getPrimaryFieldOfPrimaryKey (rx-schema-helper.ts:104:63)...
1
vote
1
answer
944
views
Any way to make RxDB work for React Native on Expo with a SQLite database (I own a RxDB Premium, the SQLite Plugin does not work)
The author mentions that his premium plugin rxdb-premium/plugins/storage-sqlite is not working on older version of SQLite on Android, if we get the error mentionned below (in the next code block). So, ...
1
vote
1
answer
349
views
Getting Adapter not added. Use RxDB.plugin(require('pouchdb-adapter-[adaptername]'); in ReactNative
RxError: RxError:
RxDatabase.create(): Adapter not added. Use RxDB.plugin(require('pouchdb-adapter-[adaptername]');
Given parameters: {
adapter:"asyncstorage"}
database.js //mycode
import ...
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 ...