Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 788 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 788 Bytes

LiteDb.Tables

  • Display litedb as tables or json in web-based interfaces.
  • Export tables to Excel.
  • Sort, Search data.

Usage

// LiteDb.Tables Services
builder.Services.AddLiteDbTables(options =>
{
    options.ConnectionString = "Filename=MyDatabase.db;Connection=shared;";
});
app.MapLiteDbTables();

Endpoints

  • /litedb/tables: Get a list of tables with row count and connection string.
  • /litedb/tables/json: Get a list of tables in JSON format.
  • /litedb/{tableName}/html: Get the table rendered as an HTML page with interactive features.
  • /litedb/{tableName}/json: Get the table data in JSON format.

Demo

Screenshot 2025-01-18 at 00-30-48 persons