Exec executes the query.
(ctx context.Context)
| 259 | |
| 260 | // Exec executes the query. |
| 261 | func (_c *MachineCreate) Exec(ctx context.Context) error { |
| 262 | _, err := _c.Save(ctx) |
| 263 | return err |
| 264 | } |
| 265 | |
| 266 | // ExecX is like Exec, but panics if an error occurs. |
| 267 | func (_c *MachineCreate) ExecX(ctx context.Context) { |