()
| 323 | } |
| 324 | |
| 325 | func (c TableSchemaCache) AllTableNames() (tableNames []string) { |
| 326 | for tableName, _ := range c { |
| 327 | tableNames = append(tableNames, tableName) |
| 328 | } |
| 329 | |
| 330 | return |
| 331 | } |
| 332 | |
| 333 | func (c TableSchemaCache) Get(database, table string) *TableSchema { |
| 334 | return c[fullTableName(database, table)] |
no outgoing calls