Exec executes the query on the entity.
(ctx context.Context)
| 618 | |
| 619 | // Exec executes the query on the entity. |
| 620 | func (nuo *NodeUpdateOne) Exec(ctx context.Context) error { |
| 621 | _, err := nuo.Save(ctx) |
| 622 | return err |
| 623 | } |
| 624 | |
| 625 | // ExecX is like Exec, but panics if an error occurs. |
| 626 | func (nuo *NodeUpdateOne) ExecX(ctx context.Context) { |