Skip to content
Search
DSL · Postgresql

to_pgsql_transaction

Definition

/**
 * Execute multiple loaders within PostgreSQL transactions.
 *
 * Each batch of rows is loaded in its own transaction; rows a wrapped Transformation delivers when
 * the loader is closed (blocking operations drain there) are committed in one final transaction.
 * If any loader fails, the open transaction is rolled back.
 * All wrapped loaders must use the same Client instance as the wrapper - a loader holding its own
 * Client escapes the transaction.
 */
to_pgsql_transaction(Client $client, Loader $loaders) : TransactionalPostgreSqlLoader

Contributors

Built in the open.

Join us on GitHub
scroll back to top