Documentation
¶
Index ¶
- func InitDatabase(db *sql.DB, params StateInitParams) error
- func IsConflict(err error) bool
- func IsNull(err error) bool
- func Open(dburl string) (*sql.DB, error)
- func TransformBatchRow[T any, R any, PtrT BatchRowTransformable[T, R]](row R) T
- func TransformRow[T any, R any, PtrT RowTransformable[T, R]](row R) T
- type BatchRowTransformable
- type MigrationState
- type RowTransformable
- type StateInitParams
- type TxWrapper
- type Wrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitDatabase ¶
func InitDatabase(db *sql.DB, params StateInitParams) error
func IsConflict ¶
func TransformBatchRow ¶
func TransformBatchRow[T any, R any, PtrT BatchRowTransformable[T, R]](row R) T
func TransformRow ¶
func TransformRow[T any, R any, PtrT RowTransformable[T, R]](row R) T
Types ¶
type BatchRowTransformable ¶
type MigrationState ¶
type RowTransformable ¶
type StateInitParams ¶
Click to show internal directories.
Click to hide internal directories.