HasColumnFamily returns if the ColumnTableDef has a column family.
()
| 386 | |
| 387 | // HasColumnFamily returns if the ColumnTableDef has a column family. |
| 388 | func (node *ColumnTableDef) HasColumnFamily() bool { |
| 389 | return node.Family.Name != "" || node.Family.Create |
| 390 | } |
| 391 | |
| 392 | // Format implements the NodeFormatter interface. |
| 393 | func (node *ColumnTableDef) Format(ctx *FmtCtx) { |
no outgoing calls
no test coverage detected