Documentation
¶
Overview ¶
This file was generated by counterfeiter with command: counterfeiter -p -o /Users/pivotal/workspace/nfs-volume-release/src/code.cloudfoundry.org/goshims/sqlshim database/sql
This file was generated by counterfeiter with command: counterfeiter -p -o /Users/pivotal/workspace/nfs-volume-release/src/code.cloudfoundry.org/goshims/sqlshim database/sql
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SqlDB ¶
type SqlDB interface {
Ping() error
Close() error
SetMaxIdleConns(n int)
SetMaxOpenConns(n int)
SetConnMaxLifetime(d time.Duration)
Stats() sql.DBStats
Prepare(query string) (*sql.Stmt, error)
Exec(query string, args ...interface{}) (sql.Result, error)
Query(query string, args ...interface{}) (*sql.Rows, error)
QueryRow(query string, args ...interface{}) *sql.Row
Begin() (*sql.Tx, error)
Driver() driver.Driver
}
Manually generated db interface
Click to show internal directories.
Click to hide internal directories.