DEV Community

loading...

Discussion on: A stable alternative to SQLite for offline desktop app?

Collapse
patarapolw profile image
Pacharapol Withayasakpunt Author

NeDB doesn't support TypeScript as good as @types/lokijs.

Also, far less consistency guaranteed than SQLite.

  • Multiple column unique indices
  • Foreign key integrity
  • Not Null

Not that lokijs or @lokidb/lokidb is better. However, lokijs seems to be one-man's work, yet recently updated in < 1 month. (vs NeDB.)

As I have destroyed my database with lokijs before (i.e. cannot read anymore), I cannot be sure about NeDB -- especially on ACID guarantee.