Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 2.87 KB

File metadata and controls

33 lines (27 loc) · 2.87 KB

Overview

LiteDB v5 is a single-file, serverless NoSQL database for .NET. It stores JSON-like documents, offers LINQ-friendly queries, and is designed to be fast, lightweight, and easy to embed in desktop, web, or mobile applications.

Documentation map

Use the following guides to explore LiteDB's feature set:

Topic Summary
Getting Started Install LiteDB, connect to a database, and perform basic CRUD operations with strongly typed collections.
Data Structure Learn how LiteDB organizes data internally, including pages, collections, and how documents are persisted on disk.
Object Mapping Configure the mapper that turns your POCO classes into BSON documents, including custom type conversions and attributes.
Collections Manage collections, control identity keys, and work with typed and dynamic documents.
BsonDocument Work directly with BsonDocument when you need dynamic schemas or advanced document manipulation.
Expressions Compose expressions to filter, project, and update documents with LiteDB's JSON-path-inspired language.
DbRef Model relationships across collections with references while keeping documents denormalized when appropriate.
Connection String Configure the LiteDB engine with connection string options such as file paths, timeouts, and journaling.
FileStorage Store and stream files alongside your documents with the GridFS-inspired FileStorage API.
Indexes Accelerate queries with single-field, compound, and expression-based indexes, including multikey support.
Encryption Protect data files using password-based AES encryption and understand how keys are derived.
Pragmas Tune engine behavior at runtime with pragmas such as size limits, timeouts, and default collations.
Collation Control string comparison rules by customizing collations per database.
Queries Explore the query API, including typed queries, aggregation, and filtering across indexes.
Concurrency Understand how LiteDB handles locking, transactions, and multi-threaded access.
How LiteDB Works Dive into the engine design, including the page allocator, WAL file, and recovery process.
Repository Pattern Wrap LiteDB with repositories for domain-driven designs and testability.
Versioning See how LiteDB evolves, how semantic versioning applies, and where to find upgrade notes.
Changelog Review notable changes across releases.

Made with ♥ by the LiteDB team – @mbdavid – MIT License.