RemovePasskeyIDs removes the "passkey" edge to the Passkey entity by IDs.
(ids ...int)
| 15940 | |
| 15941 | // RemovePasskeyIDs removes the "passkey" edge to the Passkey entity by IDs. |
| 15942 | func (m *UserMutation) RemovePasskeyIDs(ids ...int) { |
| 15943 | if m.removedpasskey == nil { |
| 15944 | m.removedpasskey = make(map[int]struct{}) |
| 15945 | } |
| 15946 | for i := range ids { |
| 15947 | delete(m.passkey, ids[i]) |
| 15948 | m.removedpasskey[ids[i]] = struct{}{} |
| 15949 | } |
| 15950 | } |
| 15951 | |
| 15952 | // RemovedPasskey returns the removed IDs of the "passkey" edge to the Passkey entity. |
| 15953 | func (m *UserMutation) RemovedPasskeyIDs() (ids []int) { |
nothing calls this directly
no outgoing calls
no test coverage detected