Documentation ¶
Index ¶
- Constants
- func DealRows[T any](rows *sql.Rows, createF func() T) (*[]T, error)
- func IsFin[T any](t *SqlTx[T]) bool
- func SimpleQ[T any](canTx CanTx, query string, ptr *T) (*[]T, error)
- 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() (dataP *T, e error)
Constants ¶
View Source
const ( Execf Queryf )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.