first commit
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,210 @@
|
||||
{
|
||||
"createdAt": "2021-03-11T13:25:33.615Z",
|
||||
"updatedAt": "2021-11-12T13:06:28.032Z",
|
||||
"id": "125",
|
||||
"name": "Postgres: insert update executeQuery",
|
||||
"active": false,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"typeVersion": 1,
|
||||
"position": [250, 300],
|
||||
"id": "17ac71e5-e7ee-46e2-bc71-65bcfb5d4a52"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"table": "testtable",
|
||||
"columns": "id,name",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"name": "Postgres",
|
||||
"type": "n8n-nodes-base.postgres",
|
||||
"typeVersion": 1,
|
||||
"position": [550, 300],
|
||||
"credentials": {
|
||||
"postgres": {
|
||||
"id": "92",
|
||||
"name": "Postgres creds"
|
||||
}
|
||||
},
|
||||
"id": "7cab0391-d473-4d74-a771-6aad35b3240f"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"values": {
|
||||
"number": [
|
||||
{
|
||||
"name": "id",
|
||||
"value": "={{Math.round(Math.random()*1000)}}"
|
||||
}
|
||||
],
|
||||
"string": [
|
||||
{
|
||||
"name": "name",
|
||||
"value": "=Name{{Date.now()}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "Set",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"typeVersion": 1,
|
||||
"position": [400, 300],
|
||||
"id": "b64bd579-b602-4ec5-8fcb-3e49514517a7"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "update",
|
||||
"table": "testtable",
|
||||
"columns": "id,name",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"name": "Postgres1",
|
||||
"type": "n8n-nodes-base.postgres",
|
||||
"typeVersion": 1,
|
||||
"position": [850, 300],
|
||||
"credentials": {
|
||||
"postgres": {
|
||||
"id": "92",
|
||||
"name": "Postgres creds"
|
||||
}
|
||||
},
|
||||
"id": "9013d993-4f74-42ca-bab2-7c1536205836"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"values": {
|
||||
"number": [],
|
||||
"string": [
|
||||
{
|
||||
"name": "name",
|
||||
"value": "=UpdatedName{{Date.now()}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "Set1",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"typeVersion": 1,
|
||||
"position": [700, 300],
|
||||
"id": "a6b9b7f5-453f-494d-b1db-7f4745f81233"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "executeQuery",
|
||||
"query": "SELECT * FROM public.testtable;",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"name": "Postgres2",
|
||||
"type": "n8n-nodes-base.postgres",
|
||||
"typeVersion": 1,
|
||||
"position": [1000, 300],
|
||||
"credentials": {
|
||||
"postgres": {
|
||||
"id": "92",
|
||||
"name": "Postgres creds"
|
||||
}
|
||||
},
|
||||
"id": "63302a61-6401-43fd-a4c5-f20b9feb68b8"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "executeQuery",
|
||||
"query": "=DELETE FROM public.testtable where id = $1;",
|
||||
"additionalFields": {
|
||||
"queryParams": "id"
|
||||
}
|
||||
},
|
||||
"name": "Postgres3",
|
||||
"type": "n8n-nodes-base.postgres",
|
||||
"typeVersion": 1,
|
||||
"position": [1150, 300],
|
||||
"credentials": {
|
||||
"postgres": {
|
||||
"id": "92",
|
||||
"name": "Postgres creds"
|
||||
}
|
||||
},
|
||||
"id": "c31b730f-f21b-4eb3-88e0-cc649984a327"
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Postgres": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Postgres",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Postgres1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Postgres1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Postgres2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Postgres2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Postgres3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Start": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"settings": {},
|
||||
"staticData": null,
|
||||
"meta": null,
|
||||
"pinData": null,
|
||||
"versionId": null,
|
||||
"triggerCount": 0,
|
||||
"tags": []
|
||||
}
|
||||
Reference in New Issue
Block a user