Show HN: NoSQL, but it's SQLite

vsroy | 48 points

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.

jazzyjackson | 9 hours ago

It's stored :memory:, there exists the same interface with:

    let x = {}
    x['foo'] = bar
This is a parody because the implementation is hidden, and I'm not convinced the implementation isn't just newing an object.
eterm | 8 hours ago

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

b33f | 9 hours ago

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.

stanac | 7 hours ago

The worst of both worlds, perfection.

iLoveOncall | 10 hours ago

Beautiful. Please turn it into a repository. You wrangled that AI masterfully for this. Well done! :)

keepamovin | 8 hours ago

dang -- why was this flagged? Seems like a perfectly reasonable post.

vsroy | 4 hours ago

Doesn’t sqlite-utils does this and more, better?

richrichie | 9 hours ago

At work, we're using sql server, and i stored all json as base64 string though.

revskill | 10 hours ago

> 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.

chx | 9 hours ago

[dead]

revendell_elf | 9 hours ago

[dead]

yakorevivan | 9 hours ago

[flagged]

cwillu | 9 hours ago

[flagged]

isoprophlex | 8 hours ago
[deleted]
| 9 hours ago