(buf *nodeBuffer)
| 1732 | } |
| 1733 | |
| 1734 | func (node *OpenJSONSchemaItem) Format(buf *nodeBuffer) { |
| 1735 | buf.Printf("%v %v", node.Name, &node.Type) |
| 1736 | if node.Path != "" { |
| 1737 | buf.Printf(" %v", NewStrVal(node.Path)) |
| 1738 | } |
| 1739 | if node.AsJSON { |
| 1740 | buf.Printf(" as json") |
| 1741 | } |
| 1742 | } |
| 1743 | |
| 1744 | // TableNames is a list of TableName. |
| 1745 | type TableNames []TableName |