Documentation
¶
Index ¶
- func InsertMany[T Model](tx database.DB, models []T) error
- func InsertManyContext[T Model](ctx context.Context, tx database.DB, models []T) error
- func MustSave(tx database.DB, v Model)
- func MustSaveContext(ctx context.Context, tx database.DB, v Model)
- func Save(tx database.DB, v Model) error
- func SaveContext(ctx context.Context, tx database.DB, v Model) error
- type BaseModel
- type Contexter
- type Model
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertManyContext ¶
func MustSaveContext ¶ added in v0.20.1
Types ¶
Click to show internal directories.
Click to hide internal directories.