How to decrease the size of db file that created by LiteDb , after I has deleted about 200 records; I have seen all issues of the litedb doc, but no satisfactory answer;
Asked
Active
Viewed 371 times
1 Answers
1
You can call the Rebuild()
method on your database:
using var db = new LiteDatabase(@"MyData.db");
db.Rebuild();

Eric Mutta
- 1,144
- 1
- 11
- 15