Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
28
func
(q *Queries) WithTx(tx pgx.Tx) *Queries {
29
return
&Queries{
30
db: tx,
31
}
32
}
Callers
1
TestBooks
Function · 0.45
Calls
no outgoing calls
Tested by
1
TestBooks
Function · 0.36