type database/sql.Conn
16 uses
database/sql (current package)
sql.go#L1950: func (db *DB) Conn(ctx context.Context) (*Conn, error) {
sql.go#L1963: conn := &Conn{
sql.go#L1981: type Conn struct {
sql.go#L2005: func (c *Conn) grabConn(context.Context) (*driverConn, releaseConn, error) {
sql.go#L2017: func (c *Conn) PingContext(ctx context.Context) error {
sql.go#L2027: func (c *Conn) ExecContext(ctx context.Context, query string, args ...any) (Result, error) {
sql.go#L2037: func (c *Conn) QueryContext(ctx context.Context, query string, args ...any) (*Rows, error) {
sql.go#L2051: func (c *Conn) QueryRowContext(ctx context.Context, query string, args ...any) *Row {
sql.go#L2064: func (c *Conn) PrepareContext(ctx context.Context, query string) (*Stmt, error) {
sql.go#L2077: func (c *Conn) Raw(f func(driverConn any) error) (err error) {
sql.go#L2115: func (c *Conn) BeginTx(ctx context.Context, opts *TxOptions) (*Tx, error) {
sql.go#L2125: func (c *Conn) closemuRUnlockCondReleaseConn(err error) {
sql.go#L2132: func (c *Conn) txCtx() context.Context {
sql.go#L2136: func (c *Conn) close(err error) error {
sql.go#L2157: func (c *Conn) Close() error {
sql.go#L2596: _ stmtConnGrabber = &Conn{}