()
| 514 | } |
| 515 | |
| 516 | func (db *DB) Row() *sql.Row { |
| 517 | tx := db.getInstance().Set("rows", false) |
| 518 | tx = tx.callbacks.Row().Execute(tx) |
| 519 | row, ok := tx.Statement.Dest.(*sql.Row) |
| 520 | if !ok && tx.DryRun { |
| 521 | db.Logger.Error(tx.Statement.Context, ErrDryRunModeUnsupported.Error()) |
| 522 | } |
| 523 | return row |
| 524 | } |
| 525 | |
| 526 | func (db *DB) Rows() (*sql.Rows, error) { |
| 527 | tx := db.getInstance().Set("rows", true) |
nothing calls this directly
no test coverage detected