type database/sql.Conn
18 uses
database/sql (current package)
sql.go#L1806: func (db *DB) Conn(ctx context.Context) (*Conn, error) {
sql.go#L1822: conn := &Conn{
sql.go#L1840: type Conn struct {
sql.go#L1860: func (c *Conn) grabConn(context.Context) (*driverConn, releaseConn, error) {
sql.go#L1869: func (c *Conn) PingContext(ctx context.Context) error {
sql.go#L1879: func (c *Conn) ExecContext(ctx context.Context, query string, args ...interface{}) (Result, error) {
sql.go#L1889: func (c *Conn) QueryContext(ctx context.Context, query string, args ...interface{}) (*Rows, error) {
sql.go#L1903: func (c *Conn) QueryRowContext(ctx context.Context, query string, args ...interface{}) *Row {
sql.go#L1916: func (c *Conn) PrepareContext(ctx context.Context, query string) (*Stmt, error) {
sql.go#L1929: func (c *Conn) Raw(f func(driverConn interface{}) error) (err error) {
sql.go#L1967: func (c *Conn) BeginTx(ctx context.Context, opts *TxOptions) (*Tx, error) {
sql.go#L1977: func (c *Conn) closemuRUnlockCondReleaseConn(err error) {
sql.go#L1984: func (c *Conn) txCtx() context.Context {
sql.go#L1988: func (c *Conn) close(err error) error {
sql.go#L2009: func (c *Conn) Close() error {
sql.go#L2432: _ stmtConnGrabber = &Conn{}
github.com/golang-migrate/migrate/v4/database/postgres
postgres.go#L44: conn *sql.Conn
golang.org/x/pkgsite/internal/database
database.go#L36: conn *sql.Conn // the Conn of the Tx, when tx != nil
 |
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. |