github.com/Masterminds/squirrel.StmtCache.cache (field)
8 uses
github.com/Masterminds/squirrel (current package)
stmtcacher.go#L33: cache map[string]*sql.Stmt
stmtcacher.go#L43: stmt, ok := sc.cache[query]
stmtcacher.go#L49: sc.cache[query] = stmt
stmtcacher.go#L86: for key, stmt := range sc.cache {
stmtcacher.go#L87: delete(sc.cache, key)
stmtcacher_ctx.go#L31: return &StmtCache{prep: prep, cache: make(map[string]*sql.Stmt)}
stmtcacher_ctx.go#L50: stmt, ok := sc.cache[query]
stmtcacher_ctx.go#L56: sc.cache[query] = stmt
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |