Save creates the Meta in the database.
(ctx context.Context)
| 103 | |
| 104 | // Save creates the Meta in the database. |
| 105 | func (_c *MetaCreate) Save(ctx context.Context) (*Meta, error) { |
| 106 | _c.defaults() |
| 107 | return withHooks(ctx, _c.sqlSave, _c.mutation, _c.hooks) |
| 108 | } |
| 109 | |
| 110 | // SaveX calls Save and panics if Save returns an error. |
| 111 | func (_c *MetaCreate) SaveX(ctx context.Context) *Meta { |