LiteDB 4.1.2

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

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.2 (current) 18,536 3/11/2018
4.1.1 20,069 1/8/2018
4.1.0 7,389 12/17/2017
4.0.0 17,663 10/18/2017
4.0.0-beta2 610 10/2/2017
4.0.0-beta1 6,606 8/28/2017
3.1.5 167 3/17/2018
3.1.4 61,640 8/16/2017
3.1.3 1,380 8/13/2017
3.1.2 1,533 8/4/2017
3.1.1 10,303 6/8/2017
3.1.0 28,228 3/11/2017
3.0.1 4,989 2/15/2017
3.0.0 9,643 1/20/2017
3.0.0-beta3 807 12/25/2016
3.0.0-beta2 1,221 11/27/2016
3.0.0-beta 244 11/20/2016
2.0.4 22,896 11/7/2016
2.0.2 9,298 8/25/2016
2.0.1 775 8/22/2016
2.0.0 2,491 7/31/2016
2.0.0-rc2 310 7/20/2016
2.0.0-rc 13,887 12/24/2015
2.0.0-beta 249 11/20/2015
1.0.5 865 7/23/2016
1.0.4 7,076 10/26/2015
1.0.3 1,521 9/6/2015
1.0.2 1,918 5/17/2015
1.0.1 224 5/11/2015
1.0.0 508 3/28/2015
0.9.0 568 2/5/2015
0.8.0 198 1/31/2015
0.6.0 264 1/20/2015
0.5.0 267 8/25/2014