(ctx context.Context, sql string, args ...interface{})
| 615 | } |
| 616 | |
| 617 | func (tx *Transaction) exec(ctx context.Context, sql string, args ...interface{}) error { |
| 618 | tx.logQuery(sql, args...) |
| 619 | _, err := tx.transaction.ExecContext(ctx, sql, args...) |
| 620 | return err |
| 621 | } |
| 622 | |
| 623 | func (tx *Transaction) Create(resource *schema.Resource) error { |
| 624 | return tx.CreateContext(context.Background(), resource) |
no test coverage detected