Skip to content

SaifSaidi/LiteDB.Tables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

LiteDB.Tables - Display LiteDB Content as Interactive Tables

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages