Documentation
¶
Index ¶
- func Create[T any](db *gorm.DB, s *T) error
- func Delete[T any](db *gorm.DB, s *T) (int64, error)
- func Query[T any](db *gorm.DB, s *T) (*T, error)
- func QueryExec[T any](db *gorm.DB) (*T, error)
- func QueryExecMany[T any](db *gorm.DB) ([]*T, error)
- func QueryMany[T any](db *gorm.DB, s *T, page int, size int) (int, []*T, error)
- func Update[T any](db *gorm.DB, s *T) (int64, error)
- func Update2[T any](db *gorm.DB, s *T) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.