New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Loki Zip Adapter #758
Comments
Just a few follow-up questions.
I see two main practical applications for this adapter. First, on low memory devices, storing the database in a zip file helps save space. Second, on AWS Lambdas and other serverless technologies, this adapter is perfect for read-only databases offering flexibility, negligible data transfer costs, and, of course, saving valuable space.
I’m still using LokiJS while LokiDB is in beta. However, LokiDB is written in TypeScript with several upgrades and structural changes. I would go looking for the fs-structured adapter in LokiDB, but I either could not find it or it has not been ported. If the fs-structured adapter is in the backlog, I can just wait and use that as a sample. If not, I may need additional help or documentation. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale, bump. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
For those times when database size is a concern.
Sample Adapter
Initialize Database
loki-fs-zip-adapter.js
EDIT
Node 10 is adding a core readline module. Require readline from linebyline.
The text was updated successfully, but these errors were encountered: