SetReferenceCount sets the "reference_count" field.
(i int)
| 117 | |
| 118 | // SetReferenceCount sets the "reference_count" field. |
| 119 | func (eu *EntityUpdate) SetReferenceCount(i int) *EntityUpdate { |
| 120 | eu.mutation.ResetReferenceCount() |
| 121 | eu.mutation.SetReferenceCount(i) |
| 122 | return eu |
| 123 | } |
| 124 | |
| 125 | // SetNillableReferenceCount sets the "reference_count" field if the given value is not nil. |
| 126 | func (eu *EntityUpdate) SetNillableReferenceCount(i *int) *EntityUpdate { |
no test coverage detected