Documentation ¶
Index ¶
- 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(sql string, args ...any) *SqlTx[T]
- func (t *SqlTx[T]) SimplePlaceHolderA(sql string, ptr any) *SqlTx[T]
- func (t *SqlTx[T]) SimplePlaceHolderB(sql string, ptr any) *SqlTx[T]
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.