Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface {
Begin() (Tx, error)
Close() error
Exec(query string, args ...interface{}) (Result, error)
Ping() error
Prepare(query string) (Stmt, error)
Query(query string, args ...interface{}) (Rows, error)
QueryRow(query string, args ...interface{}) Row
SetMaxIdleConns(n int)
SetMaxOpenConns(n int)
Stats() DBStats
}
Click to show internal directories.
Click to hide internal directories.