Create returns a builder for creating a StoragePolicy entity.
()
| 2493 | |
| 2494 | // Create returns a builder for creating a StoragePolicy entity. |
| 2495 | func (c *StoragePolicyClient) Create() *StoragePolicyCreate { |
| 2496 | mutation := newStoragePolicyMutation(c.config, OpCreate) |
| 2497 | return &StoragePolicyCreate{config: c.config, hooks: c.Hooks(), mutation: mutation} |
| 2498 | } |
| 2499 | |
| 2500 | // CreateBulk returns a builder for creating a bulk of StoragePolicy entities. |
| 2501 | func (c *StoragePolicyClient) CreateBulk(builders ...*StoragePolicyCreate) *StoragePolicyCreateBulk { |
no test coverage detected