Documentation ¶
Index ¶
- Constants
- func DealRows[T any](rows *sql.Rows, newT func() T) ([]T, error)
- func IsFin[T any](t *SqlTx[T]) bool
- type AfterEF
- type AfterQF
- type BeforeF
- type CanTx
- type SqlFunc
- type SqlTx
- func (t *SqlTx[T]) AfterEF(f AfterEF[T]) *SqlTx[T]
- func (t *SqlTx[T]) AfterQF(f AfterQF[T]) *SqlTx[T]
- func (t *SqlTx[T]) BeforeF(f BeforeF[T]) *SqlTx[T]
- func (t *SqlTx[T]) Do(sqlf SqlFunc[T]) *SqlTx[T]
- func (t *SqlTx[T]) DoPlaceHolder(sqlf SqlFunc[T], ptr any, ...) *SqlTx[T]
- func (t *SqlTx[T]) Fin() (ctxVP T, e error)
- func (t *SqlTx[T]) SimpleDo(query string, args ...any) *SqlTx[T]
- func (t *SqlTx[T]) SimplePlaceHolderA(query string, ptr any) *SqlTx[T]
- func (t *SqlTx[T]) SimplePlaceHolderB(query string, ptr any) *SqlTx[T]
Constants ¶
View Source
const ( Execf Queryf )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.