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)