SetWeight sets the "weight" field.
(v int)
| 746 | |
| 747 | // SetWeight sets the "weight" field. |
| 748 | func (u *NodeUpsertOne) SetWeight(v int) *NodeUpsertOne { |
| 749 | return u.Update(func(s *NodeUpsert) { |
| 750 | s.SetWeight(v) |
| 751 | }) |
| 752 | } |
| 753 | |
| 754 | // AddWeight adds v to the "weight" field. |
| 755 | func (u *NodeUpsertOne) AddWeight(v int) *NodeUpsertOne { |