Documentation ¶
Index ¶
- func NewDB(driverName, dataSourceName string) (*sql.DB, error)
- type Row
- type Rows
- type Tx
- func (tx Tx) Any(query string, args ...interface{}) bool
- func (tx Tx) MustExec(query string, args ...interface{}) sql.Result
- func (tx Tx) MustQuery(query string, args ...interface{}) *Rows
- func (tx Tx) MustQueryRow(query string, args ...interface{}) *Row
- func (tx Tx) ScanRow(query string, args ...interface{}) map[string]interface{}
- func (tx Tx) ScanRows(query string, args ...interface{}) []map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Tx ¶
func (Tx) MustQueryRow ¶
Click to show internal directories.
Click to hide internal directories.