News for hackers. Stuff that matters.
Re:LiteDB: A .NET embedded NoSQL database by jermaustin1 on Monday November 07, 2022 @05:14PM (#33513319)
Saying a document database is the same as a JSON field is a bit reductive.

I think you chose this instead of MongoDB like you would chose SQLite instead of MSSQL. The library is very similar to Mongo's .Net library, so its almost a 1:1 code replacement.

Re:LiteDB: A .NET embedded NoSQL database by nordsieck on Monday November 07, 2022 @05:26PM (#33513439)
> I think you chose this instead of MongoDB like you would chose SQLite instead of MSSQL. The library is very similar to Mongo's .Net library, so its almost a 1:1 code replacement.

I guess it depends on what's important.

Some people primarily care about the API. Other people focus on the operational story.

Re:LiteDB: A .NET embedded NoSQL database by quickthrower2 on Monday November 07, 2022 @05:45PM (#33513613)
I agree. The way I see it, a document DB (I have used Firebase) has features that make it nicer to work with documents. For example Firebase let's you query and index based on the data within the "JSON" (in quotes because it is not really represented in Firebase as JSON, but is close in structure).

Another thing is you might want the lack of features. I.e. you want it so people don't do joins etc. Because you want the team to use the same paradigm with local data as with server hosted. I can think of reasons why.

Re:LiteDB: A .NET embedded NoSQL database by RedShift1 on Tuesday November 08, 2022 @07:50AM (#33518465)
You can create an index based on expressions so you can index fields inside JSON data with sqlite.
Re:LiteDB: A .NET embedded NoSQL database by JamesSwift on Wednesday November 09, 2022 @08:10PM (#33540799)
SQLite lets you do those JSON things as well.