Exec executes the query.
(ctx context.Context)
| 178 | |
| 179 | // Exec executes the query. |
| 180 | func (nc *NodeCreate) Exec(ctx context.Context) error { |
| 181 | _, err := nc.Save(ctx) |
| 182 | return err |
| 183 | } |
| 184 | |
| 185 | // ExecX is like Exec, but panics if an error occurs. |
| 186 | func (nc *NodeCreate) ExecX(ctx context.Context) { |