RemoveDavAccountIDs removes the "dav_accounts" edge to the DavAccount entity by IDs.
(ids ...int)
| 15832 | |
| 15833 | // RemoveDavAccountIDs removes the "dav_accounts" edge to the DavAccount entity by IDs. |
| 15834 | func (m *UserMutation) RemoveDavAccountIDs(ids ...int) { |
| 15835 | if m.removeddav_accounts == nil { |
| 15836 | m.removeddav_accounts = make(map[int]struct{}) |
| 15837 | } |
| 15838 | for i := range ids { |
| 15839 | delete(m.dav_accounts, ids[i]) |
| 15840 | m.removeddav_accounts[ids[i]] = struct{}{} |
| 15841 | } |
| 15842 | } |
| 15843 | |
| 15844 | // RemovedDavAccounts returns the removed IDs of the "dav_accounts" edge to the DavAccount entity. |
| 15845 | func (m *UserMutation) RemovedDavAccountsIDs() (ids []int) { |
nothing calls this directly
no outgoing calls
no test coverage detected