// 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 *FactMutation) AddedIDs(name string) []ent.Value {
	switch name {
	case fact.EdgeScope:
		if id := m.scope; id != nil {
			return []ent.Value{*id}
		}
	case fact.EdgeFactType:
		if id := m.fact_type; id != nil {
			return []ent.Value{*id}
		}
	}
	return nil
}
func ( m * FactMutation ) AddedIDs ( name string ) [ ] ent . Value { switch name { case fact . EdgeScope : if id := m . scope ; id != nil { return [ ] ent . Value { * id } } case fact . EdgeFactType : if id := m . fact_type ; id != nil { return [ ] ent . Value { * id } } } 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 .