Create returns a builder for creating a Lock entity.
()
| 1370 | |
| 1371 | // Create returns a builder for creating a Lock entity. |
| 1372 | func (c *LockClient) Create() *LockCreate { |
| 1373 | mutation := newLockMutation(c.config, OpCreate) |
| 1374 | return &LockCreate{config: c.config, hooks: c.Hooks(), mutation: mutation} |
| 1375 | } |
| 1376 | |
| 1377 | // CreateBulk returns a builder for creating a bulk of Lock entities. |
| 1378 | func (c *LockClient) CreateBulk(builders ...*LockCreate) *LockCreateBulk { |