HasColumnFamily returns if the ColumnTableDef has a column family.
()
| 751 | |
| 752 | // HasColumnFamily returns if the ColumnTableDef has a column family. |
| 753 | func (node *ColumnTableDef) HasColumnFamily() bool { |
| 754 | return node.Family.Name != "" || node.Family.Create |
| 755 | } |
| 756 | |
| 757 | // Format implements the NodeFormatter interface. |
| 758 | func (node *ColumnTableDef) Format(ctx *FmtCtx) { |
no outgoing calls
no test coverage detected