LokiJS
LokiJS copied to clipboard
javascript embeddable / in-memory database
I'm considering using this for a professional project as a storage adapter for rxdb, as it seems to be the best option for a local-only, file-based db. Are there any...
Hello, I was wondering why this issue was never resolved: https://github.com/techfort/LokiJS/issues/626 @AleCaste provided the fix in this commit: https://github.com/AleCaste/LokiJS/commit/0965f1d011cc1cea6eda9a67e7cbf2e7ccda2a8b Could this be added to the main repository? Kind regards, Thomas
Can you add typescript support?
Since `disableFreeze` is defined in Collection, but not in `ResultSet`: https://github.com/techfort/LokiJS/blob/master/src/lokijs.js#L5064 But the member is used in `ResultSet`: https://github.com/techfort/LokiJS/blob/master/src/lokijs.js#L3894 This will always return false.
Hi, would you recommend using the subscribe feature over updating the UI directly in the frontend in terms of performance and/or efficiency? What do you consider best practice? I'm currently...
I'm not sure what is this line of code trying to express, but an empty object won't equal to anything except itself, `propertyDelta != {}` will always return false. https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/src/lokijs.js#L5164...
Issue #881 clearly shows the problem and it's still not fixed. Basically the idIndex gets duplicate references and update throws a "Trying to update a document not in collection" error
my code: ```js let t; let alarms = []; for (let i = 0; i < 80000; i++) { let id = "74590869096" + (907836 + i); alarms.push({id, name: 'hello'...
i have a real time system, i need to add/remove items one-by-one from the db, here's my example: ```js let t; let alarms = []; for (let i = 0;...
my code: ```js let t; let alarms = []; for (let i = 0; i < 10000; i++) { alarms.push({id: "74590869096" + (907836 + i), name: 'hello' + i}); }...