Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/sqlc-dev/sqlc
/ New
Function
New
internal/pgx/poolcache/poolcache.go:17–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
}
16
17
func
New() *Cache {
18
return
&Cache{
19
pools:
map
[string]*pgxpool.Pool{},
20
}
21
}
22
23
func
(c *Cache) Open(ctx context.Context, uri string) (*pgxpool.Pool, error) {
24
if
c.closed {
Callers
2
NewClient
Function · 0.92
postgres.go
File · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected