mirror of https://github.com/Fabio286/antares.git
fix: allow comments in queies, fixes #519
This commit is contained in:
parent
5624b3b2d7
commit
c7ab3b77a2
|
@ -62,7 +62,7 @@ export default (connections: {[key: string]: antares.Client}) => {
|
||||||
|
|
||||||
ipcMain.handle('get-structure', async (event, params) => {
|
ipcMain.handle('get-structure', async (event, params) => {
|
||||||
try {
|
try {
|
||||||
const structure = await connections[params.uid].getStructure(
|
const structure: unknown = await connections[params.uid].getStructure(
|
||||||
params.schemas
|
params.schemas
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -160,8 +160,7 @@ export default (connections: {[key: string]: antares.Client}) => {
|
||||||
details: true,
|
details: true,
|
||||||
schema,
|
schema,
|
||||||
tabUid,
|
tabUid,
|
||||||
autocommit,
|
autocommit
|
||||||
comments: false
|
|
||||||
});
|
});
|
||||||
|
|
||||||
return { status: 'success', response: result };
|
return { status: 'success', response: result };
|
||||||
|
|
Loading…
Reference in New Issue