4 ms·
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 n
by eterm 2y 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.
- vsroy 2y agoThe implementation is very clearly included, if you... scrolled down. And the point is, you could easy do `const db = new Database("./database.sqlite")` instead. The wrapper makes it so manipulating your database is just like manipulating a plain Javascript object.
- eterm 2y agoIt's since been edited. At the time of my original post it was importing from a file not present on this page.