Hacker News
Favorites
Setup
☰
Home
Favorites
Setup
Comment by delduca |
original
|
SQLite as a Document Database (2020)
[−]
delduca
· 2026-08-29 Sat 16:15 UTC ·
link
fave
In my personal project (a game) I use an indexed key + a JSONB to store the save state, which comes from Lua.
So I can have cassette.propxyz = {1, 2, “abc”, true}
And
local anotherprop = cassette.leprop
[−]
nonethewiser
· 2026-08-29 Sat 16:36 UTC ·
link
fave
Are you doing this because you also use SQLite for other relational data?
[−]
delduca
· 2026-08-29 Sat 16:37 UTC ·
link
fave
Possibly yes, otherwise I could use another simple solution
So I can have cassette.propxyz = {1, 2, “abc”, true}
And
local anotherprop = cassette.leprop