AddStoragePolicyIDs adds the "storage_policy" edge to the StoragePolicy entity by IDs.
(ids ...int)
| 547 | |
| 548 | // AddStoragePolicyIDs adds the "storage_policy" edge to the StoragePolicy entity by IDs. |
| 549 | func (nuo *NodeUpdateOne) AddStoragePolicyIDs(ids ...int) *NodeUpdateOne { |
| 550 | nuo.mutation.AddStoragePolicyIDs(ids...) |
| 551 | return nuo |
| 552 | } |
| 553 | |
| 554 | // AddStoragePolicy adds the "storage_policy" edges to the StoragePolicy entity. |
| 555 | func (nuo *NodeUpdateOne) AddStoragePolicy(s ...*StoragePolicy) *NodeUpdateOne { |
no test coverage detected