n8n/packages/nodes-base/nodes
Omar Ajoue 41669c0e0f
Add options to run queries as transactions (#1612)
* add multi return

* add independently and transaction to query

* pgInsert normal and transaction

* independently for pgInsert

* normal, transaction and independently for pgUpdate

* cleanup

* implement it in other nodes

* multiple fixes

* add optional returning support

* clean up Postgres functions

* fix other postgres based dbs

* Added option to run queries as a transaction to Postgres

This commit allows users to configure Postgres, CrateDB, TimescaleDB and
QuestDB to run queries independently or as transactions as well as the
previous mode which is to execute multiple queries at once.

Previous behavior remains untouched so we only added new options.

* Standardize behavior across nodes that use postgres protocol

Also fixed unit tests.

* Added breaking change notice

* Added more information to breaking changes

*  Styling fixes

Co-authored-by: lublak <lublak.de@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-24 22:55:14 +02:00
..
ActiveCampaign Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
AcuityScheduling Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Affinity Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
AgileCrm Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Airtable Optimize svgs 2021-04-17 17:23:59 +02:00
Amqp Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
ApiTemplateIo Optimize svgs 2021-04-17 17:23:59 +02:00
Asana Optimize svg (#1653) 2021-04-17 17:17:16 +02:00
Automizy Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Autopilot Optimize svg (#1653) 2021-04-17 17:17:16 +02:00
Aws Optimize svgs 2021-04-17 17:23:59 +02:00
Bannerbear Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Beeminder Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Bitbucket Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Bitly Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Bitwarden Optimize svgs 2021-04-17 17:23:59 +02:00
Box Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Brandfetch Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Bubble Optimize svgs 2021-04-17 17:23:59 +02:00
Calendly Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Chargebee Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
CircleCi Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Clearbit Optimize svgs 2021-04-17 17:23:59 +02:00
ClickUp Optimize svgs 2021-04-17 17:23:59 +02:00
Clockify Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Cockpit Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Coda Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
CoinGecko Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Contentful Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
ConvertKit Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Copper Optimize svg (#1653) 2021-04-17 17:17:16 +02:00
Cortex Optimize svgs 2021-04-17 17:23:59 +02:00
CrateDb Add options to run queries as transactions (#1612) 2021-04-24 22:55:14 +02:00
CustomerIo Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
DeepL Optimize svgs 2021-04-17 17:23:59 +02:00
Demio Optimize svgs 2021-04-17 17:23:59 +02:00
Discord Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Discourse Optimize svgs 2021-04-17 17:23:59 +02:00
Disqus Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Drift Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Dropbox Optimize svgs 2021-04-17 17:23:59 +02:00
Egoi Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Emelia Optimize svgs 2021-04-17 17:23:59 +02:00
ERPNext Optimize svgs 2021-04-17 17:23:59 +02:00
Eventbrite Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Facebook Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
FileMaker Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Flow Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Freshdesk Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
GetResponse Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Ghost Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Github Optimize svg (#1653) 2021-04-17 17:17:16 +02:00
Gitlab Optimize svgs 2021-04-17 17:23:59 +02:00
Google 🐛 Fix issue looking up values with multiple empty rows (#1701) 2021-04-24 18:56:47 +02:00
Gotify Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
GoToWebinar Optimize svgs 2021-04-17 17:23:59 +02:00
GraphQL Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Gumroad Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
HackerNews Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Harvest Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
HelpScout Optimize svgs 2021-04-17 17:23:59 +02:00
HtmlExtract Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Hubspot Optimize svgs 2021-04-17 17:23:59 +02:00
HumanticAI Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Hunter Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Intercom Basic code cleanup on Intercom Node 2021-04-24 17:49:52 +02:00
InvoiceNinja Optimize svgs 2021-04-17 17:23:59 +02:00
Iterable Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Jira Optimize svgs 2021-04-17 17:23:59 +02:00
JotForm Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Kafka Optimize svgs 2021-04-17 17:23:59 +02:00
Keap 🐛 Fix issue sending parameter Opt In Reason on Keap Node (#1674) 2021-04-17 16:52:56 +02:00
Lemlist Optimize svgs 2021-04-17 17:23:59 +02:00
Line Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
LingvaNex Add and update codex files (#1665) 2021-04-16 19:03:44 +02:00
LinkedIn Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Mailcheck Add Mailcheck Node (#1690) 2021-04-24 19:34:59 +02:00
Mailchimp Optimize svgs 2021-04-17 17:23:59 +02:00
MailerLite Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Mailgun Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Mailjet Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Mandrill Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Matrix Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Mattermost Optimize svgs 2021-04-17 17:23:59 +02:00
Mautic 🐛 Fix sending "lastActive" with Mautic 2021-04-23 08:52:53 +02:00
Medium Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
MessageBird Optimize svgs 2021-04-17 17:23:59 +02:00
Microsoft Optimize svgs 2021-04-17 17:23:59 +02:00
Mindee Optimize svg (#1653) 2021-04-17 17:17:16 +02:00
Mocean Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
MondayCom Optimize svgs 2021-04-17 17:23:59 +02:00
MongoDb Optimize svgs 2021-04-17 17:23:59 +02:00
MQTT Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Msg91 Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
MySql Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Nasa Add and update codex files (#1665) 2021-04-16 19:03:44 +02:00
NextCloud Minor improvements on NextCloud Node 2021-04-24 00:11:44 +02:00
OpenThesaurus Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Orbit Optimize svgs 2021-04-17 17:23:59 +02:00
Oura Optimize svgs 2021-04-17 17:23:59 +02:00
Paddle Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
PagerDuty Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
PayPal Optimize svgs 2021-04-17 17:23:59 +02:00
Peekalink Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Phantombuster Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
PhilipsHue Add and update codex files (#1665) 2021-04-16 19:03:44 +02:00
Pipedrive Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Plivo Optimize svgs 2021-04-17 17:23:59 +02:00
Postgres Add options to run queries as transactions (#1612) 2021-04-24 22:55:14 +02:00
PostHog Optimize svgs 2021-04-17 17:23:59 +02:00
Postmark Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
ProfitWell Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Pushbullet Optimize svgs 2021-04-17 17:23:59 +02:00
Pushcut Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Pushover Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
QuestDb Add options to run queries as transactions (#1612) 2021-04-24 22:55:14 +02:00
QuickBase Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
QuickBooks Optimize svgs 2021-04-17 17:23:59 +02:00
RabbitMQ Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Raindrop Optimize svgs 2021-04-17 17:23:59 +02:00
Reddit Optimize svgs 2021-04-17 17:23:59 +02:00
Redis Optimize svgs 2021-04-17 17:23:59 +02:00
Rocketchat Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Rundeck Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
S3 Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Salesforce Add custom fields for Salesforce case create/update and alphabetize fields for update (#1688) 2021-04-24 22:10:53 +02:00
Salesmate Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
SecurityScorecard Optimize svgs 2021-04-17 17:23:59 +02:00
Segment Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
SendGrid Optimize svgs 2021-04-17 17:23:59 +02:00
Sendy Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
SentryIo Improvements on Sentry Node 2021-04-24 00:38:15 +02:00
Shopify Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Signl4 Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Slack Optimize svg (#1653) 2021-04-17 17:17:16 +02:00
Sms77 Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Snowflake Add Node Codex (#1335) 2021-01-14 13:56:07 +01:00
Spontit Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Spotify Optimize svgs 2021-04-17 17:23:59 +02:00
Stackby Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Storyblok Optimize svgs 2021-04-17 17:23:59 +02:00
Strapi Optimize svg (#1653) 2021-04-17 17:17:16 +02:00
Strava Optimize svgs 2021-04-17 17:23:59 +02:00
Stripe Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
SurveyMonkey Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Taiga Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Tapfiliate Optimize svg (#1653) 2021-04-17 17:17:16 +02:00
Telegram Optimize svgs 2021-04-17 17:23:59 +02:00
TheHive Optimize svgs 2021-04-17 17:23:59 +02:00
TimescaleDb Add options to run queries as transactions (#1612) 2021-04-24 22:55:14 +02:00
Todoist Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Toggl Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
TravisCi Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Trello Optimize svg (#1653) 2021-04-17 17:17:16 +02:00
Twake Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Twilio Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Twist Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Twitter Add and update codex files (#1665) 2021-04-16 19:03:44 +02:00
Typeform Optimize svgs 2021-04-17 17:23:59 +02:00
UnleashedSoftware Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Uplead Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
UProc Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
utils 👕 Add quotemark rule to tslint (#1330) 2021-01-13 09:00:07 +01:00
Vero Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Vonage Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Webflow Optimize svgs 2021-04-17 17:23:59 +02:00
Wekan Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Wise Optimize svgs 2021-04-17 17:23:59 +02:00
WooCommerce Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Wordpress Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Wufoo Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Xero Optimize svgs 2021-04-17 17:23:59 +02:00
Yourls Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Zendesk Add ability to retrieve custom fields to Zendesk Trigger node. (#1685) 2021-04-24 19:57:49 +02:00
Zoho Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Zoom Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Zulip Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
ActivationTrigger.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
ActivationTrigger.node.ts Add Activation Trigger (#1570) 2021-03-23 19:08:47 +01:00
Compression.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
Compression.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Cron.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
Cron.node.ts 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
Crypto.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
Crypto.node.ts ⬆️ Update types/node package in all packages (#1659) 2021-04-15 23:57:20 +02:00
DateTime.node.json Change category for core nodes (#1341) 2021-01-15 11:44:21 +01:00
DateTime.node.ts Add calculate functionality to DateTime Node (#1589) 2021-04-17 10:34:48 +02:00
EditImage.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
EditImage.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
EmailReadImap.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
EmailReadImap.node.ts 🐛 Fix attempt to reconnect and make IMAP node stable (#1667) 2021-04-17 17:01:27 +02:00
EmailSend.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
EmailSend.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
ErrorTrigger.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
ErrorTrigger.node.ts 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
ExecuteCommand.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
ExecuteCommand.node.ts 👕 Fix lint issue 2020-10-22 18:00:28 +02:00
ExecuteWorkflow.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
ExecuteWorkflow.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Ftp.node.json Add Node Codex (#1335) 2021-01-14 13:56:07 +01:00
Ftp.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Function.node.json Add and update codex files (#1665) 2021-04-16 19:03:44 +02:00
Function.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
FunctionItem.node.json Change category for core nodes (#1341) 2021-01-15 11:44:21 +01:00
FunctionItem.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
HttpRequest.node.json Add and update codex files (#1665) 2021-04-16 19:03:44 +02:00
HttpRequest.node.ts Addglobal timeout setting for all http requests except for http request node (#1650) 2021-04-17 15:15:33 +02:00
If.node.json Add and update codex files (#1665) 2021-04-16 19:03:44 +02:00
If.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Interval.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
Interval.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Merge.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
Merge.node.ts 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
MoveBinaryData.node.json Change category for core nodes (#1341) 2021-01-15 11:44:21 +01:00
MoveBinaryData.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
NoOp.node.json Add and update codex files (#1665) 2021-04-16 19:03:44 +02:00
NoOp.node.ts 💄 Add icons to all nodes which did not have any 2019-07-26 11:27:46 +02:00
OpenWeatherMap.node.json Add and update codex files (#1665) 2021-04-16 19:03:44 +02:00
OpenWeatherMap.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
ReadBinaryFile.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
ReadBinaryFile.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
ReadBinaryFiles.node.json Change category for core nodes (#1341) 2021-01-15 11:44:21 +01:00
ReadBinaryFiles.node.ts add dir to different positions 2021-02-15 13:25:30 +01:00
ReadPdf.node.json Change category for core nodes (#1341) 2021-01-15 11:44:21 +01:00
ReadPdf.node.ts Cleanup & Fix lint issues 2021-03-29 11:20:10 +02:00
RenameKeys.node.json Change category for core nodes (#1341) 2021-01-15 11:44:21 +01:00
RenameKeys.node.ts Make it possible to sort your added values (#1425) 2021-02-15 09:53:19 +01:00
RssFeedRead.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
RssFeedRead.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
RunAt.node.ts 👕 Fix lint issue 2020-10-23 09:19:45 +02:00
Set.node.json Add and update codex files (#1665) 2021-04-16 19:03:44 +02:00
Set.node.ts Replace some fallback values to match the value type (#1421) 2021-03-08 18:45:35 +01:00
SplitInBatches.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
SplitInBatches.node.ts Fix typo in description of SplitInBatches (#1296) 2020-12-31 16:52:36 +01:00
SpreadsheetFile.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
SpreadsheetFile.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
SseTrigger.node.json Change category for core nodes (#1341) 2021-01-15 11:44:21 +01:00
SseTrigger.node.ts 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
Start.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
Start.node.ts Use color for icons in node creator and update colors 2019-07-26 11:41:08 +02:00
Switch.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
Switch.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Webhook.node.json Add and update codex files (#1665) 2021-04-16 19:03:44 +02:00
Webhook.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
WriteBinaryFile.node.json Change category for core nodes (#1341) 2021-01-15 11:44:21 +01:00
WriteBinaryFile.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Xml.node.json Change category for core nodes (#1341) 2021-01-15 11:44:21 +01:00
Xml.node.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00