Exec executes the query on the entity.
(ctx context.Context)
| 462 | |
| 463 | // Exec executes the query on the entity. |
| 464 | func (tuo *TaskUpdateOne) Exec(ctx context.Context) error { |
| 465 | _, err := tuo.Save(ctx) |
| 466 | return err |
| 467 | } |
| 468 | |
| 469 | // ExecX is like Exec, but panics if an error occurs. |
| 470 | func (tuo *TaskUpdateOne) ExecX(ctx context.Context) { |