Mutation returns the StoragePolicyMutation object of the builder.
()
| 265 | |
| 266 | // Mutation returns the StoragePolicyMutation object of the builder. |
| 267 | func (spc *StoragePolicyCreate) Mutation() *StoragePolicyMutation { |
| 268 | return spc.mutation |
| 269 | } |
| 270 | |
| 271 | // Save creates the StoragePolicy in the database. |
| 272 | func (spc *StoragePolicyCreate) Save(ctx context.Context) (*StoragePolicy, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected