Exec executes sql in transaction
(ctx context.Context, sql string, args ...interface{})
| 610 | |
| 611 | // Exec executes sql in transaction |
| 612 | func (tx *Transaction) ExecContext(ctx context.Context, sql string, args ...interface{}) error { |
| 613 | defer tx.measureTime(time.Now(), "unknown_schema", "exec") |
| 614 | return tx.exec(ctx, sql, args...) |
| 615 | } |
| 616 | |
| 617 | func (tx *Transaction) exec(ctx context.Context, sql string, args ...interface{}) error { |
| 618 | tx.logQuery(sql, args...) |
no test coverage detected