Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColumnMapRowMapper ¶
Types ¶
type BeanPropertyRowMapper ¶
type BeanPropertyRowMapper interface { RowMapper(row *sql.Row) interface{} RowsMapper(rows *sql.Rows) interface{} }
func NewBeanPropertyRowMapper ¶
func NewBeanPropertyRowMapper(example interface{}) BeanPropertyRowMapper
type RowConvertor ¶
type RowConvertor interface { Map(mapper RowMapper) RowConvertor MapTo(example interface{}) RowConvertor ToObject() interface{} }
func NewRowConvertor ¶
func NewRowConvertor(datasource datasource.DbManager, sqlstr string, args []interface{}) RowConvertor
func NewTxRowConvertor ¶ added in v1.3.1
func NewTxRowConvertor(tx *sql.Tx, sqlstr string, args []interface{}) RowConvertor
type RowsConvertor ¶
type RowsConvertor interface { Map(mapper RowsMapper) RowsConvertor MapTo(example interface{}) RowsConvertor ToArray() []interface{} }
func NewRowsConvertor ¶
func NewRowsConvertor(dataSource datasource.DbManager, sqlstr string, args []interface{}) RowsConvertor
func NewTxRowsConvertor ¶ added in v1.3.1
func NewTxRowsConvertor(tx *sql.Tx, sqlstr string, args []interface{}) RowsConvertor
type RowsMapper ¶
type TxRowsConvertor ¶ added in v1.3.1
type TxRowsConvertor interface { Map(mapper RowsMapper) RowsConvertor MapTo(example interface{}) RowsConvertor ToArray() []interface{} }
Click to show internal directories.
Click to hide internal directories.