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