type github.com/jackc/pgx/v5.Batch
22 uses
github.com/jackc/pgx/v5 (current package)
batch.go#L63: type Batch struct {
batch.go#L74: func (b *Batch) Queue(query string, arguments ...any) *QueuedQuery {
batch.go#L84: func (b *Batch) Len() int {
batch.go#L122: b *Batch
batch.go#L284: b *Batch
batch.go#L494: func invalidateCachesOnBatchResultsError(conn *Conn, b *Batch, err error) {
conn.go#L941: func (c *Conn) SendBatch(ctx context.Context, b *Batch) (br BatchResults) {
conn.go#L1016: func (c *Conn) sendBatchQueryExecModeSimpleProtocol(ctx context.Context, b *Batch) *batchResults {
conn.go#L1038: func (c *Conn) sendBatchQueryExecModeExec(ctx context.Context, b *Batch) *batchResults {
conn.go#L1072: func (c *Conn) sendBatchQueryExecModeCacheStatement(ctx context.Context, b *Batch) (pbr *pipelineBatchResults) {
conn.go#L1104: func (c *Conn) sendBatchQueryExecModeCacheDescribe(ctx context.Context, b *Batch) (pbr *pipelineBatchResults) {
conn.go#L1135: func (c *Conn) sendBatchQueryExecModeDescribeExec(ctx context.Context, b *Batch) (pbr *pipelineBatchResults) {
conn.go#L1157: func (c *Conn) sendBatchExtendedWithDescription(ctx context.Context, b *Batch, distinctNewQueries []*pgconn.StatementDescription, sdCache stmtcache.Cache) (pbr *pipelineBatchResults) {
tracer.go#L39: Batch *Batch
tx.go#L140: SendBatch(ctx context.Context, b *Batch) BatchResults
tx.go#L270: func (tx *dbTx) SendBatch(ctx context.Context, b *Batch) BatchResults {
tx.go#L372: func (sp *dbSimulatedNestedTx) SendBatch(ctx context.Context, b *Batch) BatchResults {
github.com/jackc/pgx/v5/pgxpool
conn.go#L98: func (c *Conn) SendBatch(ctx context.Context, b *pgx.Batch) pgx.BatchResults {
pool.go#L776: 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 {