What is the best practice to store data in database?


#1

Hi,

I usually use sqlite but i have the same issue like this post : Sqlite3 - Cannot find 'node_sqlite3.node + question!.

I would know if sqlite is a good choice to store data, or if there is a best solution.

regards :wink:


#2

Chromium (and thus Electron) has built-in support for the IndexedDB and (the deprecated but unlikely to be removed) Web SQL databases. Neither require native module compilation or anything not already included in Electron.