// ClearEdge clears the value of the edge with the given name. It returns an error
// if that edge is not defined in the schema.
ClearEdge clears the value of the edge with the given name. It returns an error
if that edge is not defined in the schema.
// ClearEdge clears the value of the edge with the given name . It returns an error // if that edge is not defined in the schema .
func (m *FactMutation) ClearEdge(name string) error {
	switch name {
	case fact.EdgeScope:
		m.ClearScope()
		return nil
	case fact.EdgeFactType:
		m.ClearFactType()
		return nil
	}
	return fmt.Errorf("unknown Fact unique edge %s", name)
}
func ( m * FactMutation ) ClearEdge ( name string ) error { switch name { case fact . EdgeScope : m . ClearScope ( ) return nil case fact . EdgeFactType : m . ClearFactType ( ) return nil } return fmt . Errorf ( " " , name ) }
ClearEdge clears the value of the edge with the given name.
ClearEdge clears the value of the edge with the given name .