Re:Json-Base – Database built as JSON files
by waltpad on Thursday July 02, 2020 @02:24PM
(#23716357)
I think that, oddly enough, the point of that project is to use the JSON format as the DB storage format, not as an export option. Just from the look of it (I don't know either projects), LokiJS will very likely be always faster.
Re:Json-Base – Database built as JSON files
by slantyyz on Thursday July 02, 2020 @02:29PM
(#23716418)
Sorry for the confusion, by "save as", I didn't mean export.
LokiJS has multiple persistence options, with JSON files in the filesystem being just one of them.
Alternatively, you could also just use it in-memory or with IndexedDB.
Re:Json-Base – Database built as JSON files
by waltpad on Thursday July 02, 2020 @02:41PM
(#23716540)
Oh, I understand. I suppose it makes sense, if for instance one needs to store a bunch of parameters somewhere, it might as well be a JSON file.
Re:Json-Base – Database built as JSON files
by runawaybottle on Thursday July 02, 2020 @05:04PM
(#23718068)
I’ve used Loki as more of an in memory db in the Browser, never with the assumption of using it as real storage.
[1] https://github.com/techfort/LokiJS