HasFKConstraint returns if the ColumnTableDef has a foreign key constraint.
()
| 736 | |
| 737 | // HasFKConstraint returns if the ColumnTableDef has a foreign key constraint. |
| 738 | func (node *ColumnTableDef) HasFKConstraint() bool { |
| 739 | return node.References.Table != nil |
| 740 | } |
| 741 | |
| 742 | // IsComputed returns if the ColumnTableDef is a computed column. |
| 743 | func (node *ColumnTableDef) IsComputed() bool { |
no outgoing calls
no test coverage detected