SetWeight sets the "weight" field.
(i int)
| 127 | |
| 128 | // SetWeight sets the "weight" field. |
| 129 | func (nc *NodeCreate) SetWeight(i int) *NodeCreate { |
| 130 | nc.mutation.SetWeight(i) |
| 131 | return nc |
| 132 | } |
| 133 | |
| 134 | // SetNillableWeight sets the "weight" field if the given value is not nil. |
| 135 | func (nc *NodeCreate) SetNillableWeight(i *int) *NodeCreate { |
no outgoing calls
no test coverage detected