ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
(name string)
| 11420 | // ResetEdge resets all changes to the edge with the given name in this mutation. |
| 11421 | // It returns an error if the edge is not defined in the schema. |
| 11422 | func (m *SettingMutation) ResetEdge(name string) error { |
| 11423 | return fmt.Errorf("unknown Setting edge %s", name) |
| 11424 | } |
| 11425 | |
| 11426 | // ShareMutation represents an operation that mutates the Share nodes in the graph. |
| 11427 | type ShareMutation struct { |
nothing calls this directly
no outgoing calls
no test coverage detected