Exec executes the query.
(ctx context.Context)
| 454 | |
| 455 | // Exec executes the query. |
| 456 | func (_c *AlertCreate) Exec(ctx context.Context) error { |
| 457 | _, err := _c.Save(ctx) |
| 458 | return err |
| 459 | } |
| 460 | |
| 461 | // ExecX is like Exec, but panics if an error occurs. |
| 462 | func (_c *AlertCreate) ExecX(ctx context.Context) { |