// AddedIDs returns all IDs (to other nodes) that were added for the given edge
// name in this mutation.
AddedIDs returns all IDs (to other nodes) that were added for the given edge
name in this mutation.
// AddedIDs returns all IDs ( to other nodes ) that were added for the given edge // name in this mutation .
func (m *ScopeMutation) AddedIDs(name string) []ent.Value {
	switch name {
	case scope.EdgeFacts:
		ids := make([]ent.Value, 0, len(m.facts))
		for id := range m.facts {
			ids = append(ids, id)
		}
		return ids
	}
	return nil
}
func ( m * ScopeMutation ) AddedIDs ( name string ) [ ] ent . Value { switch name { case scope . EdgeFacts : ids := make ( [ ] ent . Value , 0 , len ( m . facts ) ) for id := range m . facts { ids = append ( ids , id ) } return ids } return nil }
AddedIDs returns all IDs (to other nodes) that were added for the given edge
name in this mutation.
AddedIDs returns all IDs ( to other nodes ) that were added for the given edge name in this mutation .