Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
There are many.
Look at leveldb, or variants. I used it for a Android app a few yeara ago, and it out performed sqlite. -
donuts236723y@magicMirror hm.... C.... I guess could try compiling and then importing as a library in C#....
Never used C before.
Just found this thread thiugh.... Not sure how I missed it before... But yea the term im looking for I guess was NOSQL...
https://reddit.com/r/csharp/... -
@donuts Looks nice.
NoSql is good if you keep a single document per presentation with UI level filtering. Just do without data search ability, or complicated collection joins. -
donuts236723y@magicMirror actually in the end I went with option 2... Just writing and reading json files to folders...
The DB somehow doesn't map Dictionary<string,object> properly...
Saves the keys but most of the time sets all the values to null...
Though now thinking about it could be because those values are JElements (used JSON NET) rather then actual primitives like int, string ...
But eh... hack faster... -
@donuts
Maybe use json serilazation lib?
Then store as blob/text.
Adds a bit of overhead, but should be fine for a small/mid level data loads.
Related Rants
Is there a portable DB format like sqlite but stores data like Mongo.
Each record contains key value pairs.
I guess I could install Mongo again... But kinda want to play with the data first. Pulls from a web api
I guess other alternative is to just save the json responses to disk in separate folders and files for now...
And abstract the DB layer behind an interface
question
rubber duck question
c#