know only of nedb which sadly has only a js interface
NoSQL dbs consist of many types and each has a specific use. What's your use case?
My usecase would be having a sqlite like db file which could also contain binary data and which should have also an cli tool in order to extract the data and use it from different applications, i know that i can use for the usecase sqlite3 with the only issue being having the tables defined beforehand which might require frequent altering of tables as long as the whole scope of data is unclear (although it wont be that much anyway) Additionally the second requirement is that the db should mimic the api of a (does not matter which one) major hosted open source db in order to be able to exchange the db in the future
Why don't you use MongoDB for example? I think you missed something here. Do you want to use this database in an Electron app? FYI, SQLite is not a NoSQL DB!
Fyi, i fucking know that sqlite is not a nosql db which is why i asked specifically for a nosql db which is a single file db with a usable cli just like sqlite
I don't know any database like that; but you can always use a single JSON file and load it when the application starts. For the usability concern, you can write all your basic database functions in a single file and later when you want to migrate to a real database, you just need to update that single file
* JSON or any other format that you're comfortable with
Thats actually a nice look on that topic, thanks, sadly i have not really any experience in terms of nosql and for some reason didnt thought about that approach
This thread may be helpful: https://stackoverflow.com/questions/8296574/file-based-nosql-database
Обсуждают сегодня