SetType sets the "type" field.
(v node.Type)
| 655 | |
| 656 | // SetType sets the "type" field. |
| 657 | func (u *NodeUpsertOne) SetType(v node.Type) *NodeUpsertOne { |
| 658 | return u.Update(func(s *NodeUpsert) { |
| 659 | s.SetType(v) |
| 660 | }) |
| 661 | } |
| 662 | |
| 663 | // UpdateType sets the "type" field to the value that was provided on create. |
| 664 | func (u *NodeUpsertOne) UpdateType() *NodeUpsertOne { |