-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Postgres Node): Always return TIMESTAMP and TIMESTAMPZ as ISO str…
…ings
- Loading branch information
1 parent
4cbb05b
commit c64ff9e
Showing
23 changed files
with
2,348 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* eslint-disable n8n-nodes-base/node-filename-against-convention */ | ||
import type { IExecuteFunctions } from 'n8n-core'; | ||
import type { | ||
INodeExecutionData, | ||
INodeType, | ||
INodeTypeBaseDescription, | ||
INodeTypeDescription, | ||
} from 'n8n-workflow'; | ||
import { router } from './actions/router'; | ||
|
||
import { versionDescription } from './actions/versionDescription'; | ||
import { credentialTest, listSearch, loadOptions } from './methods'; | ||
|
||
export class PostgresV3 implements INodeType { | ||
description: INodeTypeDescription; | ||
|
||
constructor(baseDescription: INodeTypeBaseDescription) { | ||
this.description = { | ||
...baseDescription, | ||
...versionDescription, | ||
}; | ||
} | ||
|
||
methods = { credentialTest, listSearch, loadOptions }; | ||
|
||
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> { | ||
return router.call(this); | ||
} | ||
} |
Oops, something went wrong.