fix(Postgres Node): Always return TIMESTAMP and TIMESTAMPZ as ISO string (#6145)

* fix(Postgres Node): Always return TIMESTAMP and TIMESTAMPZ as ISO string

* Fix linting issues
This commit is contained in:
OlegIvaniv
2023-05-04 17:25:54 +02:00
committed by GitHub
parent d381578926
commit 0eb4d9fc16
6 changed files with 19 additions and 5 deletions

View File

@@ -11,13 +11,14 @@ export class Postgres extends VersionedNodeType {
name: 'postgres',
icon: 'file:postgres.svg',
group: ['input'],
defaultVersion: 2,
defaultVersion: 2.1,
description: 'Get, add and update data in Postgres',
};
const nodeVersions: IVersionedNodeType['nodeVersions'] = {
1: new PostgresV1(baseDescription),
2: new PostgresV2(baseDescription),
2.1: new PostgresV2(baseDescription),
};
super(nodeVersions, baseDescription);