SetType sets the "type" field.
(v node.Type)
| 451 | |
| 452 | // SetType sets the "type" field. |
| 453 | func (u *NodeUpsert) SetType(v node.Type) *NodeUpsert { |
| 454 | u.Set(node.FieldType, v) |
| 455 | return u |
| 456 | } |
| 457 | |
| 458 | // UpdateType sets the "type" field to the value that was provided on create. |
| 459 | func (u *NodeUpsert) UpdateType() *NodeUpsert { |