fix: allow comments in queies, fixes #519

This commit is contained in:
Fabio Di Stasio 2023-01-19 14:32:37 +01:00
parent 5624b3b2d7
commit c7ab3b77a2
1 changed files with 2 additions and 3 deletions

View File

@ -62,7 +62,7 @@ export default (connections: {[key: string]: antares.Client}) => {
ipcMain.handle('get-structure', async (event, params) => {
try {
const structure = await connections[params.uid].getStructure(
const structure: unknown = await connections[params.uid].getStructure(
params.schemas
);
@ -160,8 +160,7 @@ export default (connections: {[key: string]: antares.Client}) => {
details: true,
schema,
tabUid,
autocommit,
comments: false
autocommit
});
return { status: 'success', response: result };