()
| 315 | } |
| 316 | |
| 317 | func (c TableSchemaCache) AsSlice() (tables []*TableSchema) { |
| 318 | for _, tableSchema := range c { |
| 319 | tables = append(tables, tableSchema) |
| 320 | } |
| 321 | |
| 322 | return |
| 323 | } |
| 324 | |
| 325 | func (c TableSchemaCache) AllTableNames() (tableNames []string) { |
| 326 | for tableName, _ := range c { |
no outgoing calls