Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlc-dev/sqlc
/ WithTx
Method
WithTx
examples/booktest/sqlite/db.go:27–31 ·
view source on GitHub ↗
(tx *sql.Tx)
Source
from the content-addressed store, hash-verified
25
}
26
27
func
(q *Queries) WithTx(tx *sql.Tx) *Queries {
28
return
&Queries{
29
db: tx,
30
}
31
}
Callers
1
TestBooks
Function · 0.45
Calls
no outgoing calls
Tested by
1
TestBooks
Function · 0.36