SetType sets the "type" field.
(v node.Type)
| 1046 | |
| 1047 | // SetType sets the "type" field. |
| 1048 | func (u *NodeUpsertBulk) SetType(v node.Type) *NodeUpsertBulk { |
| 1049 | return u.Update(func(s *NodeUpsert) { |
| 1050 | s.SetType(v) |
| 1051 | }) |
| 1052 | } |
| 1053 | |
| 1054 | // UpdateType sets the "type" field to the value that was provided on create. |
| 1055 | func (u *NodeUpsertBulk) UpdateType() *NodeUpsertBulk { |