Just today I swapped SQLite out for NeDB in the electron app I'm building.
Does RxDB handle persistence to disk easily?
Does RxDB handle persistence to disk easily?
> corruptAlertThreshold (optional): between 0 and 1, defaults to 10%. NeDB will refuse to start if more than this percentage of the datafile is corrupt. 0 means you don't tolerate any corruption, 1 means you don't care.
I personally don't want a database that "allows" corruption at any level. I understand that there are going to be bugs, but this seems different to me.
Im not really very clued up in this area though. Does the way NeDB saves data (serialised json to plain text files) increase the chances of corruption?
I don't really know how I'd handle a corrupt data file