AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
(name string)
| 7060 | // AddedIDs returns all IDs (to other nodes) that were added for the given edge |
| 7061 | // name in this mutation. |
| 7062 | func (m *MetadataMutation) AddedIDs(name string) []ent.Value { |
| 7063 | switch name { |
| 7064 | case metadata.EdgeFile: |
| 7065 | if id := m.file; id != nil { |
| 7066 | return []ent.Value{*id} |
| 7067 | } |
| 7068 | } |
| 7069 | return nil |
| 7070 | } |
| 7071 | |
| 7072 | // RemovedEdges returns all edge names that were removed in this mutation. |
| 7073 | func (m *MetadataMutation) RemovedEdges() []string { |
nothing calls this directly
no outgoing calls
no test coverage detected