1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

feat: display all keys in properties tab

This commit is contained in:
2020-11-20 17:24:02 +01:00
parent dfb24c65f3
commit 27769f204f
7 changed files with 83 additions and 11 deletions

View File

@ -30,6 +30,17 @@ export default (connections) => {
}
});
ipcMain.handle('get-table-indexes', async (event, params) => {
try {
const result = await connections[params.uid].getTableIndexes(params);
return { status: 'success', response: result };
}
catch (err) {
return { status: 'error', response: err.toString() };
}
});
ipcMain.handle('get-key-usage', async (event, params) => {
try {
const result = await connections[params.uid].getKeyUsage(params);