feat(editor): Add SQL editor support (#5517)

This commit is contained in:
Jan Oberhauser
2023-04-25 18:18:27 +02:00
committed by GitHub
parent f9b11c73b9
commit 70aaf24784
15 changed files with 163 additions and 5 deletions

View File

@@ -14,6 +14,9 @@ const properties: INodeProperties[] = [
displayName: 'SQL Query',
name: 'sqlQuery',
type: 'string',
typeOptions: {
editor: 'sqlEditor',
},
displayOptions: {
hide: {
'/options.useLegacySql': [true],
@@ -28,6 +31,9 @@ const properties: INodeProperties[] = [
displayName: 'SQL Query',
name: 'sqlQuery',
type: 'string',
typeOptions: {
editor: 'sqlEditor',
},
displayOptions: {
show: {
'/options.useLegacySql': [true],