Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database interface {
IsErrNoRows(err error) bool
Select(dest interface{}, query string, args ...interface{}) error
Exec(query string, args ...interface{}) (ExecResult, error)
QueryRow(query string, args ...interface{}) ResultRow
Query(query string, args ...interface{}) (ResultRows, error)
BeginTx() (Database, error)
CommitTx() error
RollbackTx() error
//DeferredRollbackIfNotHandled must be used with the `defer` keyword to finish a transaction - see github repo readme for usage example
DeferredRollbackIfNotHandled() error
}
type Dialect ¶
type Dialect interface {
sqlbuilder.Dialect
}
type ExecResult ¶
type ResultRows ¶
Click to show internal directories.
Click to hide internal directories.