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

Method FindInBatches

generics.go:120–120  ·  view source on GitHub ↗
(ctx context.Context, batchSize int, fc func(data []T, batch int) error)

Source from the content-addressed store, hash-verified

118 Take(context.Context) (T, error)
119 Find(ctx context.Context) ([]T, error)
120 FindInBatches(ctx context.Context, batchSize int, fc func(data []T, batch int) error) error
121 Row(ctx context.Context) *sql.Row
122 Rows(ctx context.Context) (*sql.Rows, error)
123}

Callers 5

FindInBatchesMethod · 0.65
TestFindInBatchesFunction · 0.65

Implementers 1

DBgorm.go

Calls

no outgoing calls

Tested by 4

TestFindInBatchesFunction · 0.52