AddWeight adds v to the "weight" field.
(v int)
| 753 | |
| 754 | // AddWeight adds v to the "weight" field. |
| 755 | func (u *NodeUpsertOne) AddWeight(v int) *NodeUpsertOne { |
| 756 | return u.Update(func(s *NodeUpsert) { |
| 757 | s.AddWeight(v) |
| 758 | }) |
| 759 | } |
| 760 | |
| 761 | // UpdateWeight sets the "weight" field to the value that was provided on create. |
| 762 | func (u *NodeUpsertOne) UpdateWeight() *NodeUpsertOne { |