* Boilerplate for PostgresTrigger * Create trigger function as a query * Add additional fields to customize trigger query * Add customizable channel name && operation name * Add concat () for function name * Add hints and placeholders * Add resource Locator to trigger postgres * Add the ability for knowing trigger event * Throw error for same function name * Remove console.logs * Remove schema from Chanel notifcation mode * Add UUID and save trigger in workflow static data drop function * Fix bug where wrongfully casted result in pgl * Correctly drops the resources when manually executing the trigger * Remove manual execution with special interaction * Remove console.logs * ♻️ Move related trigger functions to new file * fix target using 'schema."tableName"' in quotes To support targets with Uppercase table names * Remove static Data and use node id for uuid * Update deleting of the trigger and function * Fix regex expression for channel name * Change to drop cascade the trigger function * Replace functions on restart if no name has been defined * Parse payload result * Improve handling with hyphens in names * Remove duplicate code and clean up * Add payload on delete * Fix rlc * fixing uppercase tableName * fix multiple triggers/connections issues * fixing rlc pgp.end() issues * unify pgp init db method * drop trigger only in createTrigger mode --------- Co-authored-by: Marcus <marcus@n8n.io>
19 lines
376 B
JSON
19 lines
376 B
JSON
{
|
|
"node": "n8n-nodes-base.postgresTrigger",
|
|
"nodeVersion": "1.0",
|
|
"codexVersion": "1.0",
|
|
"categories": ["Development"],
|
|
"resources": {
|
|
"credentialDocumentation": [
|
|
{
|
|
"url": "https://docs.n8n.io/credentials/postgres"
|
|
}
|
|
],
|
|
"primaryDocumentation": [
|
|
{
|
|
"url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/"
|
|
}
|
|
]
|
|
}
|
|
}
|