SetReferenceCount sets the "reference_count" field.
(i int)
| 596 | |
| 597 | // SetReferenceCount sets the "reference_count" field. |
| 598 | func (euo *EntityUpdateOne) SetReferenceCount(i int) *EntityUpdateOne { |
| 599 | euo.mutation.ResetReferenceCount() |
| 600 | euo.mutation.SetReferenceCount(i) |
| 601 | return euo |
| 602 | } |
| 603 | |
| 604 | // SetNillableReferenceCount sets the "reference_count" field if the given value is not nil. |
| 605 | func (euo *EntityUpdateOne) SetNillableReferenceCount(i *int) *EntityUpdateOne { |
no test coverage detected