Documentation ¶ Index ¶ func BatchInsertData[T comparable](ctx context.Context, db *gorm.DB, list []T, batchNum int) func LoopedReadData[T comparable](ctx context.Context, db *gorm.DB, result []T, order string, limit int, ...) (resultNew []T, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func BatchInsertData ¶ func BatchInsertData[T comparable](ctx context.Context, db *gorm.DB, list []T, batchNum int) func LoopedReadData ¶ added in v2.1.30 func LoopedReadData[T comparable](ctx context.Context, db *gorm.DB, result []T, order string, limit int, whereQuery any, whereArgs ...any) (resultNew []T, err error) Types ¶ This section is empty. Source Files ¶ View all Source files batch.go Click to show internal directories. Click to hide internal directories.