Show HN: NoSQL, but it's SQLite
Not a database, just a map of json strings where you can update the json stored at some key. You could write the same interface on top of localStorage.
Couchbase mobile has been doing this for over a decade and early versions of membase 15 years ago were using a sqlite backend as a noSQL JSON datastore
I've built this (unironically) for Python: https://github.com/senko/dante
It combines the convenience of SQLite (nothing to install) with the convenience of just throwing stuff in a dict. Perfect for quick prototypes/mockups.
The worst of both worlds, perfection.
PowerSync does something similar I believe
I did something similar with dotnet and linq. Idea was to create something like marten but for sqlite instead of postgres. Stopped working on it some time ago, the thing that was really slow was de/serialization, but with new source generators for json maybe it can be sped up.
At work, we're using sql server, and i stored all json as base64 string though.
Doesn’t sqlite-utils does this and more, better?
Beautiful. Please turn it into a repository. You wrangled that AI masterfully for this. Well done! :)
> Built with o1.
Yes, yes, database with AI written code. NoSQL with a database that can't be trusted with your data? I. have. seen. this. before. To quote a classic:
> I suggest you pipe your data to devnull it will be very fast
In defense of the database that video was about, I worked as a software architect for the company which became the first commercial user of it, Eliot hilariously didn't want to accept money for support at first. Good old days. However, around 2015 when all three large open source SQL databases --- SQLite, PostgreSQL, MySQL -- added JSON support I felt there was no more need for these NoSQL systems, though.
dang -- why was this flagged? Seems like a perfectly reasonable post.
[dead]
[dead]
[flagged]
[flagged]
It's stored :memory:, there exists the same interface with:
This is a parody because the implementation is hidden, and I'm not convinced the implementation isn't just newing an object.