feat: implement database schema discovery and data browser interface
This commit is contained in:
@@ -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 }),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user