type github.com/jackc/pgconn.StatementDescription
20 uses
github.com/jackc/pgconn (current package)
pgconn.go#L730: type StatementDescription struct {
pgconn.go#L739: func (pgConn *PgConn) Prepare(ctx context.Context, name, sql string, paramOIDs []uint32) (*StatementDescription, error) {
pgconn.go#L766: psd := &StatementDescription{Name: name, SQL: sql}
github.com/jackc/pgconn/stmtcache
lru.go#L44: func (c *LRU) Get(ctx context.Context, sql string) (*pgconn.StatementDescription, error) {
lru.go#L58: return el.Value.(*pgconn.StatementDescription), nil
lru.go#L115: psd := elem.Value.(*pgconn.StatementDescription)
lru.go#L138: func (c *LRU) prepare(ctx context.Context, sql string) (*pgconn.StatementDescription, error) {
lru.go#L151: psd := oldest.Value.(*pgconn.StatementDescription)
stmtcache.go#L18: Get(ctx context.Context, sql string) (*pgconn.StatementDescription, error)
github.com/jackc/pgx/v4
conn.go#L63: preparedStatements map[string]*pgconn.StatementDescription
conn.go#L230: c.preparedStatements = make(map[string]*pgconn.StatementDescription)
conn.go#L268: func (c *Conn) Prepare(ctx context.Context, name, sql string) (sd *pgconn.StatementDescription, err error) {
conn.go#L487: func (c *Conn) execParamsAndPreparedPrefix(sd *pgconn.StatementDescription, arguments []interface{}) error {
conn.go#L513: func (c *Conn) execParams(ctx context.Context, sd *pgconn.StatementDescription, arguments []interface{}) (pgconn.CommandTag, error) {
conn.go#L523: func (c *Conn) execPrepared(ctx context.Context, sd *pgconn.StatementDescription, arguments []interface{}) (pgconn.CommandTag, error) {
copy_from.go#L168: func (ct *copyFrom) buildCopyBuf(buf []byte, sd *pgconn.StatementDescription) (bool, []byte, error) {
tx.go#L152: Prepare(ctx context.Context, name, sql string) (*pgconn.StatementDescription, error)
tx.go#L262: func (tx *dbTx) Prepare(ctx context.Context, name, sql string) (*pgconn.StatementDescription, error) {
tx.go#L381: func (sp *dbSavepoint) Prepare(ctx context.Context, name, sql string) (*pgconn.StatementDescription, error) {
github.com/jackc/pgx/v4/stdlib
sql.go#L396: sd *pgconn.StatementDescription
 |
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. |