type github.com/jackc/pgx/v5.Batch
22 uses
github.com/jackc/pgx/v5 (current package)
batch.go#L63: type Batch struct {
batch.go#L75: func (b *Batch) Queue(query string, arguments ...any) *QueuedQuery {
batch.go#L85: func (b *Batch) Len() int {
batch.go#L123: b *Batch
batch.go#L285: b *Batch
batch.go#L495: func invalidateCachesOnBatchResultsError(conn *Conn, b *Batch, err error) {
conn.go#L942: func (c *Conn) SendBatch(ctx context.Context, b *Batch) (br BatchResults) {
conn.go#L1017: func (c *Conn) sendBatchQueryExecModeSimpleProtocol(ctx context.Context, b *Batch) *batchResults {
conn.go#L1039: func (c *Conn) sendBatchQueryExecModeExec(ctx context.Context, b *Batch) *batchResults {
conn.go#L1073: func (c *Conn) sendBatchQueryExecModeCacheStatement(ctx context.Context, b *Batch) (pbr *pipelineBatchResults) {
conn.go#L1105: func (c *Conn) sendBatchQueryExecModeCacheDescribe(ctx context.Context, b *Batch) (pbr *pipelineBatchResults) {
conn.go#L1136: func (c *Conn) sendBatchQueryExecModeDescribeExec(ctx context.Context, b *Batch) (pbr *pipelineBatchResults) {
conn.go#L1158: 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#L97: func (c *Conn) SendBatch(ctx context.Context, b *pgx.Batch) pgx.BatchResults {
pool.go#L784: 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 {