jackc / pgx

PostgreSQL driver and toolkit for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pgx.Batch{} question

journeytosilius opened this issue · comments

Does pgx.Batch{} rollsback if the batch errors the program exits non-gracefully ?

A batch is implicitly transactional unless you use explicit transaction control statements.

thank you for clarifying