Exec executes the query on the entity.
(ctx context.Context)
| 279 | |
| 280 | // Exec executes the query on the entity. |
| 281 | func (suo *SettingUpdateOne) Exec(ctx context.Context) error { |
| 282 | _, err := suo.Save(ctx) |
| 283 | return err |
| 284 | } |
| 285 | |
| 286 | // ExecX is like Exec, but panics if an error occurs. |
| 287 | func (suo *SettingUpdateOne) ExecX(ctx context.Context) { |