FileIDs returns the "file" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use FileID instead. It exists only for internal usage by the builders.
()
| 12065 | // Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use |
| 12066 | // FileID instead. It exists only for internal usage by the builders. |
| 12067 | func (m *ShareMutation) FileIDs() (ids []int) { |
| 12068 | if id := m.file; id != nil { |
| 12069 | ids = append(ids, *id) |
| 12070 | } |
| 12071 | return |
| 12072 | } |
| 12073 | |
| 12074 | // ResetFile resets all changes to the "file" edge. |
| 12075 | func (m *ShareMutation) ResetFile() { |
no outgoing calls
no test coverage detected