n8n/packages/nodes-base
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
..
credentials Add Mailcheck Node (#1690) 2021-04-24 19:34:59 +02:00
nodes Add options to run queries as transactions (#1612) 2021-04-24 22:55:14 +02:00
src Add RAW data mode to GoogleSheet-Node 2019-07-10 16:14:55 +02:00
test Add options to run queries as transactions (#1612) 2021-04-24 22:55:14 +02:00
gulpfile.js Add .svg to gulpfile 2020-06-26 17:48:07 -04:00
LICENSE.md 📚 License text fix 2020-09-15 07:55:09 +02:00
package.json Add Mailcheck Node (#1690) 2021-04-24 19:34:59 +02:00
README.md Fix logos in README.md files 2020-07-13 14:22:34 +02:00
tsconfig.json Add options to run queries as transactions (#1612) 2021-04-24 22:55:14 +02:00
tslint.json 👕 Add quotemark rule to tslint (#1330) 2021-01-13 09:00:07 +01:00

n8n-nodes-base

n8n.io - Workflow Automation

The nodes which are included by default in n8n

npm install n8n-nodes-base -g

License

Apache 2.0 with Commons Clause

Additional information about license can be found in the FAQ