5 ms·
Can you show an example of how you use SQLite for _config_ files?
by Y-bar 14d ago
Can you show an example of how you use SQLite for _config_ files?
- LambdaComplex 14d agoI think your emphasis might be in the wrong place...SQLite for config makes enough sense, but as a config _file_?
- deleted 14d ago[deleted]
- Y-bar 14d agoNot entirely. Because where would I configure the location of the SQLite location/connection then? Given what I know about it (single file, no auth, and such by default) I sort of understand the ”file” part I think. But not the ”config” part.
- spottedmarley 14d agoSQLite is a tiny relational db that essentially runs right in the same folder as your application. No connection other than connecting from the app itself to the SQLite.db sitting next to it.
- gwbas1c 14d agoYou're missing the point: Why are your config files so complicated that you need SQLite? I've shipped a product that used SQLite, and we actively removed configuration from SQLite. It was a lot easier to diagnose issues when configuration was in text files, because non-programmers could kinda-sorta understand them without needing to learn how to use SQL.
- spottedmarley 13d ago"particular need". i also said json works everywhere. what was unclear?