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

feat: context menu shortcut to set NULL a table cell

This commit is contained in:
2021-02-28 21:45:38 +01:00
parent 201fad9265
commit 71b4310117
5 changed files with 45 additions and 8 deletions

View File

@ -81,6 +81,8 @@ export default (connections) => {
escapedParam = `b'${sqlEscaper(params.content)}'`;
reload = true;
}
else if (params.content === null)
escapedParam = 'NULL';
else
escapedParam = `"${sqlEscaper(params.content)}"`;