Exec executes the query.
(ctx context.Context)
| 108 | |
| 109 | // Exec executes the query. |
| 110 | func (sc *SettingCreate) Exec(ctx context.Context) error { |
| 111 | _, err := sc.Save(ctx) |
| 112 | return err |
| 113 | } |
| 114 | |
| 115 | // ExecX is like Exec, but panics if an error occurs. |
| 116 | func (sc *SettingCreate) ExecX(ctx context.Context) { |