Method
Trace
(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error)
Source from the content-addressed store, hash-verified
| 48 | } |
| 49 | |
| 50 | func (l *printSQLLogger) Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) { |
| 51 | sql, _ := fc() |
| 52 | fmt.Println(sql + ";") |
| 53 | l.Interface.Trace(ctx, begin, fc, err) |
| 54 | } |
| 55 | |
| 56 | // GormDataTypeInterface gorm data type interface |
| 57 | type GormDataTypeInterface interface { |
Callers
nothing calls this directly
Tested by
no test coverage detected