OwnerIDs returns the "owner" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use OwnerID instead. It exists only for internal usage by the builders.
()
| 10556 | // Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use |
| 10557 | // OwnerID instead. It exists only for internal usage by the builders. |
| 10558 | func (m *MetaMutation) OwnerIDs() (ids []int) { |
| 10559 | if id := m.owner; id != nil { |
| 10560 | ids = append(ids, *id) |
| 10561 | } |
| 10562 | return |
| 10563 | } |
| 10564 | |
| 10565 | // ResetOwner resets all changes to the "owner" edge. |
| 10566 | func (m *MetaMutation) ResetOwner() { |
no outgoing calls
no test coverage detected