mirror of
https://gitlab.com/nullmax17/RestySqlite.git
synced 2025-03-15 00:11:11 +03:00
Fixes and clearing
This commit is contained in:
parent
63151ad724
commit
051143abd0
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
/obj
|
/obj
|
||||||
/.vscode
|
/.vscode
|
||||||
*.db
|
*.db
|
||||||
|
*.conf
|
@ -39,7 +39,7 @@ namespace RestySqlite
|
|||||||
|
|
||||||
var group = app.MapGroup(handle);
|
var group = app.MapGroup(handle);
|
||||||
|
|
||||||
group.MapGet($"{handle}/", async() => { return await repo.ListTables(); });
|
group.MapGet("/", async() => { return await repo.ListTables(); });
|
||||||
|
|
||||||
group.MapGet("/{tableName}", async(string tableName) =>
|
group.MapGet("/{tableName}", async(string tableName) =>
|
||||||
{ return await repo.ListColumns(tableName); });
|
{ return await repo.ListColumns(tableName); });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user