Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conn ¶
type Conn interface {
ID() ID
// Close closes the connection.
Close(ctx context.Context) error
// Clone creates a new Conn with the same underlying connections arguments.
Clone(ctx context.Context) (Conn, error)
// TypeMap returns a pgx typemap.
// TODO: consider whether pgtype.Map is the right abstraction.
TypeMap() *pgtype.Map
}
Click to show internal directories.
Click to hide internal directories.