LiteDB 4.1.2

LiteDB - A lightweight embedded .NET NoSQL document store in a single datafile

There is a newer version of this package available.
See the version list below for details.
Install-Package LiteDB -Version 4.1.2
dotnet add package LiteDB --version 4.1.2
paket add LiteDB --version 4.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

LiteDB - A .NET NoSQL Document Store in a single data file

LiteDB is a small, fast and lightweight NoSQL embedded database.

  • Serverless NoSQL Document Store
  • Simple API similar to MongoDB
  • 100% C# code for .NET 3.5 / .NET 4.0 / NETStandard 1.3 / NETStandard 2.0 in a single DLL (less than 300kb)
  • Thread safe and process safe
  • ACID in document/operation level
  • Data recovery after write failure (journal mode)
  • Datafile encryption using DES (AES) cryptography
  • Map your POCO classes to BsonDocument using attributes or fluent mapper API
  • Store files and stream data (like GridFS in MongoDB)
  • Single data file storage (like SQLite)
  • Index document fields for fast search (up to 16 indexes per collection)
  • LINQ support for queries
  • Shell command line - try this online version
  • Pretty fast - compare results with SQLite here
  • Open source and free for everyone - including commercial use

New in 4.0

  • New Expressions/Path index/query support. See Expressions
  • Nested Include support
  • Optimized query execution (with explain plain debug)
  • Fix concurrency problems
  • Remove transaction and auto index creation
  • Support for full scan search and LINQ search
  • New shell commands: update fields based on expressions and select/transform documents
  • See full changelog

LiteDB - A .NET NoSQL Document Store in a single data file

LiteDB is a small, fast and lightweight NoSQL embedded database.

  • Serverless NoSQL Document Store
  • Simple API similar to MongoDB
  • 100% C# code for .NET 3.5 / .NET 4.0 / NETStandard 1.3 / NETStandard 2.0 in a single DLL (less than 300kb)
  • Thread safe and process safe
  • ACID in document/operation level
  • Data recovery after write failure (journal mode)
  • Datafile encryption using DES (AES) cryptography
  • Map your POCO classes to BsonDocument using attributes or fluent mapper API
  • Store files and stream data (like GridFS in MongoDB)
  • Single data file storage (like SQLite)
  • Index document fields for fast search (up to 16 indexes per collection)
  • LINQ support for queries
  • Shell command line - try this online version
  • Pretty fast - compare results with SQLite here
  • Open source and free for everyone - including commercial use

New in 4.0

  • New Expressions/Path index/query support. See Expressions
  • Nested Include support
  • Optimized query execution (with explain plain debug)
  • Fix concurrency problems
  • Remove transaction and auto index creation
  • Support for full scan search and LINQ search
  • New shell commands: update fields based on expressions and select/transform documents
  • See full changelog

Version History

Version Downloads Last updated
4.1.4 68,141 6/11/2018
4.1.3 12,011 5/28/2018
4.1.2 49,829 3/11/2018
4.1.1 30,341 1/8/2018
4.1.0 10,757 12/17/2017
4.0.0 29,121 10/18/2017
4.0.0-beta2 983 10/2/2017
4.0.0-beta1 6,731 8/28/2017
3.1.5 459 3/17/2018
3.1.4 73,552 8/16/2017
3.1.3 1,766 8/13/2017
3.1.2 1,874 8/4/2017
3.1.1 11,273 6/8/2017
3.1.0 38,042 3/11/2017
3.0.1 5,262 2/15/2017
3.0.0 10,556 1/20/2017
3.0.0-beta3 904 12/25/2016
3.0.0-beta2 1,435 11/27/2016
3.0.0-beta 321 11/20/2016
2.0.4 34,307 11/7/2016
2.0.2 10,334 8/25/2016
2.0.1 883 8/22/2016
2.0.0 2,681 7/31/2016
2.0.0-rc2 388 7/20/2016
2.0.0-rc 14,405 12/24/2015
2.0.0-beta 321 11/20/2015
1.0.5 1,152 7/23/2016
1.0.4 8,078 10/26/2015
1.0.3 1,625 9/6/2015
1.0.2 2,093 5/17/2015
1.0.1 318 5/11/2015
1.0.0 702 3/28/2015
0.9.0 714 2/5/2015
0.8.0 328 1/31/2015
0.6.0 405 1/20/2015
0.5.0 380 8/25/2014