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

Method Trace

tests/tracer_test.go:31–34  ·  view source on GitHub ↗
(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error)

Source from the content-addressed store, hash-verified

29}
30
31func (S Tracer) Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) {
32 S.Logger.Trace(ctx, begin, fc, err)
33 S.Test(ctx, begin, fc, err)
34}

Callers

nothing calls this directly

Calls 1

TraceMethod · 0.65

Tested by

no test coverage detected