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 14,498 6/11/2018
4.1.3 6,147 5/28/2018
4.1.2 (current) 34,126 3/11/2018
4.1.1 24,580 1/8/2018
4.1.0 9,082 12/17/2017
4.0.0 22,468 10/18/2017
4.0.0-beta2 834 10/2/2017
4.0.0-beta1 6,644 8/28/2017
3.1.5 263 3/17/2018
3.1.4 67,505 8/16/2017
3.1.3 1,471 8/13/2017
3.1.2 1,706 8/4/2017
3.1.1 10,644 6/8/2017
3.1.0 32,038 3/11/2017
3.0.1 5,082 2/15/2017
3.0.0 10,291 1/20/2017
3.0.0-beta3 824 12/25/2016
3.0.0-beta2 1,270 11/27/2016
3.0.0-beta 259 11/20/2016
2.0.4 28,563 11/7/2016
2.0.2 9,824 8/25/2016
2.0.1 796 8/22/2016
2.0.0 2,559 7/31/2016
2.0.0-rc2 328 7/20/2016
2.0.0-rc 14,005 12/24/2015
2.0.0-beta 265 11/20/2015
1.0.5 940 7/23/2016
1.0.4 7,446 10/26/2015
1.0.3 1,547 9/6/2015
1.0.2 1,946 5/17/2015
1.0.1 240 5/11/2015
1.0.0 528 3/28/2015
0.9.0 593 2/5/2015
0.8.0 215 1/31/2015
0.6.0 282 1/20/2015
0.5.0 296 8/25/2014