AddWeight adds v to the "weight" field.
(v int)
| 541 | |
| 542 | // AddWeight adds v to the "weight" field. |
| 543 | func (u *NodeUpsert) AddWeight(v int) *NodeUpsert { |
| 544 | u.Add(node.FieldWeight, v) |
| 545 | return u |
| 546 | } |
| 547 | |
| 548 | // UpdateNewValues updates the mutable fields using the new values that were set on create. |
| 549 | // Using this option is equivalent to using: |