github.com/jackc/pgx/v4.Conn.stmtcache (field)
15 uses
github.com/jackc/pgx/v4 (current package)
conn.go#L64: stmtcache stmtcache.Cache
conn.go#L236: c.stmtcache = c.config.BuildStatementCache(c.pgConn)
conn.go#L397: func (c *Conn) StatementCache() stmtcache.Cache { return c.stmtcache }
conn.go#L452: if c.stmtcache != nil {
conn.go#L453: sd, err := c.stmtcache.Get(ctx, sql)
conn.go#L458: if c.stmtcache.Mode() == stmtcache.ModeDescribe {
conn.go#L617: if c.stmtcache != nil {
conn.go#L618: sd, err = c.stmtcache.Get(ctx, sql)
conn.go#L667: if c.stmtcache != nil && c.stmtcache.Mode() == stmtcache.ModeDescribe {
conn.go#L764: if c.stmtcache != nil && c.stmtcache.Cap() >= len(distinctUnpreparedQueries) {
conn.go#L765: stmtCache = c.stmtcache
rows.go#L152: if rows.err != nil && rows.conn.stmtcache != nil {
rows.go#L153: rows.conn.stmtcache.StatementErrored(rows.sql, rows.err)
![]() |
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. |