mirror of https://github.com/jackc/pgx.git
Remove unused Batch field
parent
2263521f70
commit
d5c510b590
13
batch.go
13
batch.go
|
@ -18,13 +18,12 @@ type batchItem struct {
|
||||||
// Batch queries are a way of bundling multiple queries together to avoid
|
// Batch queries are a way of bundling multiple queries together to avoid
|
||||||
// unnecessary network round trips.
|
// unnecessary network round trips.
|
||||||
type Batch struct {
|
type Batch struct {
|
||||||
conn *Conn
|
conn *Conn
|
||||||
items []*batchItem
|
items []*batchItem
|
||||||
resultsRead int
|
resultsRead int
|
||||||
pendingCommandComplete bool
|
ctx context.Context
|
||||||
ctx context.Context
|
err error
|
||||||
err error
|
inTx bool
|
||||||
inTx bool
|
|
||||||
|
|
||||||
mrr *pgconn.MultiResultReader
|
mrr *pgconn.MultiResultReader
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue