Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handle ¶
type QueryResult ¶
type QueryResult interface {
RowScanner
Next() bool
Err() error
io.Closer
}
type ReadWriter ¶
type Reader ¶
type Reader interface {
QueryContext(ctx context.Context, statement string, args ...interface{}) (QueryResult, error)
QueryRowContext(ctx context.Context, statement string, args ...interface{}) RowScanner
}
type RowScanner ¶
type RowScanner interface {
Scan(...interface{}) error
}
type Transaction ¶
type Transaction interface {
ReadWriter
Transactional
TxHandle() *sql.Tx
}
type Transactional ¶
Click to show internal directories.
Click to hide internal directories.