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

Method Last

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

Source from the content-addressed store, hash-verified

115 Scan(ctx context.Context, r interface{}) error
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

Callers 5

LastMethod · 0.65
TestNilPointerSlice2Function · 0.65
TestFindFunction · 0.65
TestToSQLFunction · 0.65

Implementers 1

DBgorm.go

Calls

no outgoing calls

Tested by 4

TestNilPointerSlice2Function · 0.52
TestFindFunction · 0.52
TestToSQLFunction · 0.52