Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlc-dev/sqlc
/ New
Function
New
examples/ondeck/sqlite/db.go:20–22 ·
view source on GitHub ↗
(db DBTX)
Source
from the content-addressed store, hash-verified
18
}
19
20
func
New(db DBTX) *Queries {
21
return
&Queries{db: db}
22
}
23
24
func
Prepare(ctx context.Context, db DBTX) (*Queries, error) {
25
q := Queries{db: db}
Callers
1
TestQueries
Function · 0.70
Calls
no outgoing calls
Tested by
1
TestQueries
Function · 0.56