Exec executes the query.
(ctx context.Context)
| 205 | |
| 206 | // Exec executes the query. |
| 207 | func (sc *ShareCreate) Exec(ctx context.Context) error { |
| 208 | _, err := sc.Save(ctx) |
| 209 | return err |
| 210 | } |
| 211 | |
| 212 | // ExecX is like Exec, but panics if an error occurs. |
| 213 | func (sc *ShareCreate) ExecX(ctx context.Context) { |