Closed RickCarlino closed 7 years ago
Could you post the code where you call RxDB.create() ? It should work like this:
RxDB.create({
name: 'mydb',
adapter: 'localstorage'
});
@RickCarlino status?
@pubkey Sorry for the slow response - it's been hectic at work. I have not had time to write a good, runable sample for this one. I will get to it between now and Monday.
@pubkey Sorry for the slow response.
Here's the smallest example I could get running:
import { create, plugin } from "rxdb";
plugin(require("pouchdb-adapter-localstorage"));
create({ name: "foo", storageEngine: "localStorage" });
Is storageEngine
written anywhere in the docs?
Because this attribute does not exist.
Ah, i've seen its written in the typings. I will fix.
I'm upgrading to the newest version of RxDB for a
localstorage
project and hit this error:within this function:
I'm not using LevelDB anywhere in my app, so I was surprised to see this come up. Is it a bug, or is it possible that I have misconfigured a setting somewhere?