feat: implement database schema discovery and data browser interface

This commit is contained in:
Ümit Tunç
2026-04-24 07:53:50 +03:00
parent 14abf1223f
commit cd34cc6412
6 changed files with 244 additions and 78 deletions
+1
View File
@@ -27,4 +27,5 @@ export const SchemaService = {
getTables: (db: string) => api.get(`/schema/tables/${db}`, { params: { database: db } }),
getTableSchema: (table: string, database?: string) => api.get(`/schema/${table}`, { params: { database } }),
getTableData: (table: string, params: any) => api.get(`/schema/${table}/data`, { params }),
executeQuery: (query: string) => api.post('/schema/execute', { query }),
};