RemoveDirectLinkIDs removes the "direct_links" edge to the DirectLink entity by IDs.
(ids ...int)
| 3966 | |
| 3967 | // RemoveDirectLinkIDs removes the "direct_links" edge to the DirectLink entity by IDs. |
| 3968 | func (m *FileMutation) RemoveDirectLinkIDs(ids ...int) { |
| 3969 | if m.removeddirect_links == nil { |
| 3970 | m.removeddirect_links = make(map[int]struct{}) |
| 3971 | } |
| 3972 | for i := range ids { |
| 3973 | delete(m.direct_links, ids[i]) |
| 3974 | m.removeddirect_links[ids[i]] = struct{}{} |
| 3975 | } |
| 3976 | } |
| 3977 | |
| 3978 | // RemovedDirectLinks returns the removed IDs of the "direct_links" edge to the DirectLink entity. |
| 3979 | func (m *FileMutation) RemovedDirectLinksIDs() (ids []int) { |
nothing calls this directly
no outgoing calls
no test coverage detected