litedb-org / LiteDB

LiteDB - A .NET NoSQL Document Store in a single data file
http://www.litedb.org
MIT License
8.65k stars 1.25k forks source link

[SUGGESTION] Appending files #2558

Open Gregory-Marshall opened 1 month ago

Gregory-Marshall commented 1 month ago

Is your feature request related to a problem? Please describe. I'm trying to log data to a file in a LiteStorage in batches and would like to be able to re-open the files to write additional data to them. Additionally between batches I need the ability to read in the data.

Describe the solution you'd like A way to open an existing file with write privilege's and append data onto it.

Describe alternatives you've considered I could write the data to a temp file on disk then upload when the recording is complete, however I would prefer always keeping the data in the database.