AddReferenceCount adds i to the "reference_count" field.
(i int)
| 2144 | |
| 2145 | // AddReferenceCount adds i to the "reference_count" field. |
| 2146 | func (m *EntityMutation) AddReferenceCount(i int) { |
| 2147 | if m.addreference_count != nil { |
| 2148 | *m.addreference_count += i |
| 2149 | } else { |
| 2150 | m.addreference_count = &i |
| 2151 | } |
| 2152 | } |
| 2153 | |
| 2154 | // AddedReferenceCount returns the value that was added to the "reference_count" field in this mutation. |
| 2155 | func (m *EntityMutation) AddedReferenceCount() (r int, exists bool) { |
no outgoing calls
no test coverage detected