Constraint is ForeignKey Constraint
| 623 | |
| 624 | // Constraint is ForeignKey Constraint |
| 625 | type Constraint struct { |
| 626 | Name string |
| 627 | Field *Field |
| 628 | Schema *Schema |
| 629 | ForeignKeys []*Field |
| 630 | ReferenceSchema *Schema |
| 631 | References []*Field |
| 632 | OnDelete string |
| 633 | OnUpdate string |
| 634 | } |
| 635 | |
| 636 | func (constraint *Constraint) GetName() string { return constraint.Name } |
| 637 |
nothing calls this directly
no outgoing calls
no test coverage detected