RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
(name string)
| 8147 | // RemovedIDs returns all IDs (to other nodes) that were removed for the edge with |
| 8148 | // the given name in this mutation. |
| 8149 | func (m *NodeMutation) RemovedIDs(name string) []ent.Value { |
| 8150 | switch name { |
| 8151 | case node.EdgeStoragePolicy: |
| 8152 | ids := make([]ent.Value, 0, len(m.removedstorage_policy)) |
| 8153 | for id := range m.removedstorage_policy { |
| 8154 | ids = append(ids, id) |
| 8155 | } |
| 8156 | return ids |
| 8157 | } |
| 8158 | return nil |
| 8159 | } |
| 8160 | |
| 8161 | // ClearedEdges returns all edge names that were cleared in this mutation. |
| 8162 | func (m *NodeMutation) ClearedEdges() []string { |
nothing calls this directly
no outgoing calls
no test coverage detected