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

Method Take

generics.go:118–118  ·  view source on GitHub ↗
(context.Context)

Source from the content-addressed store, hash-verified

116 First(context.Context) (T, error)
117 Last(ctx context.Context) (T, error)
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

Callers 5

TakeMethod · 0.65
TestPreloadWithCondsFunction · 0.65
TestGenericsCreateFunction · 0.65
TestQueryErrorFunction · 0.65

Implementers 1

DBgorm.go

Calls

no outgoing calls

Tested by 4

TestPreloadWithCondsFunction · 0.52
TestGenericsCreateFunction · 0.52
TestQueryErrorFunction · 0.52