type github.com/jackc/pgx/v5.Batch
25 uses
github.com/jackc/pgx/v5 (current package)
batch.go#L64: type Batch struct {
batch.go#L74: func (b *Batch) BeginTx(txOptions TxOptions) {
batch.go#L91: func (b *Batch) Queue(query string, arguments ...any) *QueuedQuery {
batch.go#L101: func (b *Batch) Len() int {
batch.go#L145: b *Batch
batch.go#L316: b *Batch
batch.go#L594: func FailedBatchResults(b *Batch, err error) BatchResults {
batch.go#L604: func invalidateCachesOnBatchResultsError(conn *Conn, b *Batch, err error) {
conn.go#L951: func (c *Conn) SendBatch(ctx context.Context, b *Batch) BatchResults {
conn.go#L963: func (c *Conn) sendBatch(ctx context.Context, b *Batch) (br BatchResults) {
conn.go#L1038: func (c *Conn) sendBatchQueryExecModeSimpleProtocol(ctx context.Context, b *Batch) *batchResults {
conn.go#L1062: func (c *Conn) sendBatchQueryExecModeExec(ctx context.Context, b *Batch) *batchResults {
conn.go#L1096: func (c *Conn) sendBatchQueryExecModeCacheStatement(ctx context.Context, b *Batch) (pbr *pipelineBatchResults) {
conn.go#L1128: func (c *Conn) sendBatchQueryExecModeCacheDescribe(ctx context.Context, b *Batch) (pbr *pipelineBatchResults) {
conn.go#L1159: func (c *Conn) sendBatchQueryExecModeDescribeExec(ctx context.Context, b *Batch) (pbr *pipelineBatchResults) {
conn.go#L1181: func (c *Conn) sendBatchExtendedWithDescription(ctx context.Context, b *Batch, distinctNewQueries []*pgconn.StatementDescription, sdCache stmtcache.Cache) (pbr *pipelineBatchResults) {
tracer.go#L40: Batch *Batch
tx.go#L178: SendBatch(ctx context.Context, b *Batch) BatchResults
tx.go#L308: func (tx *dbTx) SendBatch(ctx context.Context, b *Batch) BatchResults {
tx.go#L413: func (sp *dbSimulatedNestedTx) SendBatch(ctx context.Context, b *Batch) BatchResults {
github.com/jackc/pgx/v5/pgxpool
conn.go#L97: func (c *Conn) SendBatch(ctx context.Context, b *pgx.Batch) pgx.BatchResults {
pool.go#L838: func (p *Pool) SendBatch(ctx context.Context, b *pgx.Batch) pgx.BatchResults {
tx.go#L50: func (tx *Tx) SendBatch(ctx context.Context, b *pgx.Batch) pgx.BatchResults {
go.pact.im/x/pgxprocess
handle.go#L20: SendBatch(context.Context, *pgx.Batch) pgx.BatchResults
handle.go#L91: func (h *handle[T, P]) SendBatch(ctx context.Context, b *pgx.Batch) pgx.BatchResults {