diff --git a/src/main/ipc-handlers/tables.ts b/src/main/ipc-handlers/tables.ts index 82399a27..1c8adbeb 100644 --- a/src/main/ipc-handlers/tables.ts +++ b/src/main/ipc-handlers/tables.ts @@ -247,7 +247,10 @@ export default (connections: {[key: string]: antares.Client}) => { if (typeof row[key] === 'string') row[key] = `'${row[key]}'`; - row[key] = `= ${row[key]}`; + if (row[key] === null) + row[key] = 'IS NULL'; + else + row[key] = `= ${row[key]}`; } await connections[params.uid]