HasFKConstraint returns if the ColumnTableDef has a foreign key constraint.
()
| 429 | |
| 430 | // HasFKConstraint returns if the ColumnTableDef has a foreign key constraint. |
| 431 | func (node *ColumnTableDef) HasFKConstraint() bool { |
| 432 | return node.References.Table != nil |
| 433 | } |
| 434 | |
| 435 | // IsComputed returns if the ColumnTableDef is a computed column. |
| 436 | func (node *ColumnTableDef) IsComputed() bool { |
no outgoing calls
no test coverage detected