MCPcopy
hub / github.com/go-gorm/gorm / CreateInBatches

Method CreateInBatches

generics.go:230–232  ·  view source on GitHub ↗
(ctx context.Context, r *[]T, batchSize int)

Source from the content-addressed store, hash-verified

228}
229
230func (c createG[T]) CreateInBatches(ctx context.Context, r *[]T, batchSize int) error {
231 return c.g.apply(ctx).CreateInBatches(r, batchSize).Error
232}
233
234type chainG[T any] struct {
235 execG[T]

Callers

nothing calls this directly

Calls 2

applyMethod · 0.80
CreateInBatchesMethod · 0.65

Tested by

no test coverage detected