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

Method First

generics.go:116–116  ·  generics.go::ExecInterface.First
(context.Context)

Source from the content-addressed store, hash-verified

114type ExecInterface[T any] interface {
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)

Implementers 1

DBgorm.go

Calls

no outgoing calls