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

Method Row

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

Source from the content-addressed store, hash-verified

663}
664
665func (g execG[T]) Row(ctx context.Context) *sql.Row {
666 var r T
667 return g.g.apply(ctx).Model(r).Row()
668}
669
670func (g execG[T]) Rows(ctx context.Context) (*sql.Rows, error) {
671 var r T

Callers

nothing calls this directly

Calls 3

ModelMethod · 0.80
applyMethod · 0.80
RowMethod · 0.65

Tested by

no test coverage detected