ClearStoragePolicy clears all "storage_policy" edges to the StoragePolicy entity.
()
| 567 | |
| 568 | // ClearStoragePolicy clears all "storage_policy" edges to the StoragePolicy entity. |
| 569 | func (nuo *NodeUpdateOne) ClearStoragePolicy() *NodeUpdateOne { |
| 570 | nuo.mutation.ClearStoragePolicy() |
| 571 | return nuo |
| 572 | } |
| 573 | |
| 574 | // RemoveStoragePolicyIDs removes the "storage_policy" edge to StoragePolicy entities by IDs. |
| 575 | func (nuo *NodeUpdateOne) RemoveStoragePolicyIDs(ids ...int) *NodeUpdateOne { |
nothing calls this directly
no test coverage detected