Novolis.Tools.LiteDb
2026.1.1.4
dotnet add package Novolis.Tools.LiteDb --version 2026.1.1.4
NuGet\Install-Package Novolis.Tools.LiteDb -Version 2026.1.1.4
<PackageReference Include="Novolis.Tools.LiteDb" Version="2026.1.1.4" />
<PackageVersion Include="Novolis.Tools.LiteDb" Version="2026.1.1.4" />
<PackageReference Include="Novolis.Tools.LiteDb" />
paket add Novolis.Tools.LiteDb --version 2026.1.1.4
#r "nuget: Novolis.Tools.LiteDb, 2026.1.1.4"
#:package Novolis.Tools.LiteDb@2026.1.1.4
#addin nuget:?package=Novolis.Tools.LiteDb&version=2026.1.1.4
#tool nuget:?package=Novolis.Tools.LiteDb&version=2026.1.1.4
Novolis.Tools.LiteDb
Session helpers for ad-hoc LiteDB inspection — the same engine and connection-string conventions as Novolis.Storage.LiteDb, without the repository abstractions.
Use this when you need a small shell or script surface over a document database file that storage providers already own. Prefer Novolis.Storage.LiteDb when you want IRepository<T> in an application host.
Install
dotnet add package Novolis.Tools.LiteDb --version 2026.1.*
Prerequisites: .NET 10 (net10.0). Depends on Novolis.Storage.LiteDb (and transitively LiteDB).
Source: GitHub Packages (https://nuget.pkg.github.com/Novolis-Platform/index.json).
Quick start
using Novolis.Storage.LiteDb;
using Novolis.Tools.LiteDb;
using var session = LiteDbSession.Open("app.db");
foreach (var name in session.ListCollections())
{
Console.WriteLine(name);
}
session.Execute("INSERT INTO items VALUES {_id: 1, name: \"alpha\"}");
var result = session.Execute("SELECT $ FROM items");
Console.WriteLine(result.ToTable());
// Same options shape as AddLiteDbProvider:
using var fromOptions = LiteDbSession.Open(new LiteDbOptions
{
DatabasePath = "app.db",
});
File opens add Connection=shared (matching storage) so tools and hosts can coexist on the same path. Use :memory: for an in-process database.
API
| Type | Role |
|---|---|
LiteDbSession |
Open file / :memory: / LiteDbOptions; wrap an existing ILiteDatabase; list collections; dump indexes; execute shell SQL |
LiteDbQueryResult |
Flattened columns + rows with ToTable / ToCsv / ToJsonLines |
Related
| Package | Role |
|---|---|
Novolis.Tools.LiteDb.Cli |
novolis-litedb interactive REPL |
Novolis.Storage.LiteDb |
IRepository<T> provider for app hosts |
Novolis.Tools.Sqlite |
Parallel helpers for SQLite files |
Interactive use: install Novolis.Tools.LiteDb.Cli and run novolis-litedb.
Docs
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- LiteDB (>= 5.0.21)
- Novolis.Storage.LiteDb (>= 2026.1.1.37)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.1.1.4 | 47 | 10/2/2026 |
| 2026.1.1.2 | 42 | 10/1/2026 |