MetadataIDs returns the "metadata" edge IDs in the mutation.
()
| 3823 | |
| 3824 | // MetadataIDs returns the "metadata" edge IDs in the mutation. |
| 3825 | func (m *FileMutation) MetadataIDs() (ids []int) { |
| 3826 | for id := range m.metadata { |
| 3827 | ids = append(ids, id) |
| 3828 | } |
| 3829 | return |
| 3830 | } |
| 3831 | |
| 3832 | // ResetMetadata resets all changes to the "metadata" edge. |
| 3833 | func (m *FileMutation) ResetMetadata() { |
no outgoing calls
no test coverage detected