mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-31 16:57:08 +02:00
more fixes
This commit is contained in:
parent
1cc8ae3ca2
commit
65c8d47d63
|
|
@ -406,13 +406,13 @@ export function resolvePath(
|
|||
return `CAST(${base} as ${dataTableColumnTypeToSql('number', dbType)})`;
|
||||
}
|
||||
if (value instanceof Date) {
|
||||
return `CAST(${base} as ${dataTableColumnTypeToSql('date', dbType)}})`;
|
||||
return `CAST(${base} as ${dataTableColumnTypeToSql('date', dbType)})`;
|
||||
}
|
||||
if (typeof value === 'boolean') {
|
||||
return `CAST(${base} as ${dataTableColumnTypeToSql('boolean', dbType)}})`;
|
||||
return `CAST(${base} as ${dataTableColumnTypeToSql('boolean', dbType)})`;
|
||||
}
|
||||
if (typeof value === 'string') {
|
||||
return `CAST(${base} AS ${dataTableColumnTypeToSql('string', dbType)}})`;
|
||||
return `CAST(${base} AS ${dataTableColumnTypeToSql('string', dbType)})`;
|
||||
}
|
||||
return base;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user