LiteDB 4.0.0

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.0.0
dotnet add package LiteDB --version 4.0.0
<PackageReference Include="LiteDB" Version="4.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LiteDB --version 4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

LiteDB - .NET NoSQL database

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

Documentation & Examples

Visit the Wiki for full documentation. For simplified chinese version, check here.

Where to use?

  • Desktop/local small applications
  • Application file format
  • Small web applications
  • One database per account/user data store
  • Few concurrent write operations

License

MIT

Copyright (c) 2017 - Maurício David

LiteDB - .NET NoSQL database

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

Documentation & Examples

Visit the Wiki for full documentation. For simplified chinese version, check here.

Where to use?

  • Desktop/local small applications
  • Application file format
  • Small web applications
  • One database per account/user data store
  • Few concurrent write operations

License

MIT

Copyright (c) 2017 - Maurício David

Showing the top 10 GitHub repositories that depend on LiteDB:

Repository Stars
JosefNemec/Playnite
Open source video game library manager with support for 3rd party libraries like Steam, GOG, Origin, Battle.net and Uplay. Including game emulation support, providing one unified interface for your games.
aelassas/Wexflow
A high-performance, extensible, modular and cross-platform workflow engine. Built for automation.
bitwarden/mobile
The mobile app vault (iOS and Android).
AnyListen/YaVipCore
Net Core Music Interface
chocolatey/ChocolateyGUI
A delicious GUI for Chocolatey
stratisproject/StratisBitcoinFullNode
Bitcoin full node in C#
dnnsoftware/Dnn.Platform
DNN (formerly DotNetNuke) is the leading open source web content management platform (CMS) in the Microsoft ecosystem.
Shriek-Projects/shriek-fx
【WIP】️一个基于 .NET Core 2.0 开发的简单易用的快速开发框架,遵循领域驱动设计(DDD)规范约束,并结合CQRS架构提供实现事件驱动、事件回溯、响应式等特性的基础设施。让开发者享受到正真意义的面向对象设计模式来带的美感。
microsoft/python-language-server
Microsoft Language Server for Python
Cysharp/MasterMemory
Embedded Typed Readonly In-Memory Document Database for .NET Core and Unity.

Version History

Version Downloads Last updated
5.0.0-alpha2 1,379 9/24/2019
5.0.0-alpha 4,169 8/4/2019
4.1.4 422,546 6/11/2018
4.1.3 18,077 5/28/2018
4.1.2 87,645 3/11/2018
4.1.1 49,922 1/8/2018
4.1.0 15,791 12/17/2017
4.0.0 36,945 10/18/2017
4.0.0-beta2 2,481 10/2/2017
4.0.0-beta1 8,085 8/28/2017
3.1.5 4,029 3/17/2018
3.1.4 87,958 8/16/2017
3.1.3 3,728 8/13/2017
3.1.2 3,632 8/4/2017
3.1.1 14,259 6/8/2017
3.1.0 52,763 3/11/2017
3.0.1 7,108 2/15/2017
3.0.0 12,391 1/20/2017
3.0.0-beta3 2,230 12/25/2016
3.0.0-beta2 2,865 11/27/2016
3.0.0-beta 1,621 11/20/2016
2.0.4 45,935 11/7/2016
2.0.2 14,597 8/25/2016
2.0.1 2,200 8/22/2016
2.0.0 4,101 7/31/2016
2.0.0-rc2 1,671 7/20/2016
2.0.0-rc 15,766 12/24/2015
2.0.0-beta 1,610 11/20/2015
1.0.5 4,037 7/23/2016
1.0.4 11,011 10/26/2015
1.0.3 3,938 9/6/2015
1.0.2 3,533 5/17/2015
1.0.1 1,633 5/11/2015
1.0.0 2,045 3/28/2015
0.9.0 2,169 2/5/2015
0.8.0 1,763 1/31/2015
0.6.0 1,829 1/20/2015
0.5.0 1,793 8/25/2014
Show less