Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool interface {
AddSQL(key, sqlStr string)
AddStmtCachedSQL(key, sqlStr string)
GetSQL(key string) string
Exec(key string) (sql.Result, error)
Query(args ...interface{}) (*sql.Rows, error)
QueryRow(args ...interface{}) *sql.Row
}
Pool sql语句池
type PoolProvider ¶
PoolProvider pool manager
Click to show internal directories.
Click to hide internal directories.