Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDB ¶
type IDB interface {
Close()
NamedExec(query string, arg interface{}) (sql.Result, error)
Exec(query string, args ...interface{}) (sql.Result, error)
Get(dest interface{}, query string, args ...interface{}) error
Select(dest interface{}, query string, args ...interface{}) error
BeginTx(ctx context.Context, opts *sql.TxOptions) (*sql.Tx, error)
ExecMany(stmts []string, chunkSize int) (e error)
Host() string
Name() string
}
IDB is a container for db interactions
Click to show internal directories.
Click to hide internal directories.