MCPcopy
hub / github.com/sqlc-dev/sqlc / WithTx

Method WithTx

examples/booktest/postgresql/db.go:28–32  ·  view source on GitHub ↗
(tx pgx.Tx)

Source from the content-addressed store, hash-verified

26}
27
28func (q *Queries) WithTx(tx pgx.Tx) *Queries {
29 return &Queries{
30 db: tx,
31 }
32}

Callers 1

TestBooksFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestBooksFunction · 0.36