NewCreateSpec creates a new node creation spec.
(table string, id *FieldSpec)
| 733 | |
| 734 | // NewCreateSpec creates a new node creation spec. |
| 735 | func NewCreateSpec(table string, id *FieldSpec) *CreateSpec { |
| 736 | return &CreateSpec{Table: table, ID: id} |
| 737 | } |
| 738 | |
| 739 | // SetField appends a new field setter to the creation spec. |
| 740 | func (u *CreateSpec) SetField(column string, t field.Type, value driver.Value) { |
no outgoing calls
no test coverage detected
searching dependent graphs…