ListForeignTableNames lists the foreign table names.
()
| 479 | |
| 480 | // ListForeignTableNames lists the foreign table names. |
| 481 | func (s *SchemaMetadata) ListForeignTableNames() []string { |
| 482 | var result []string |
| 483 | for _, table := range s.internalExternalTable { |
| 484 | result = append(result, table.GetProto().GetName()) |
| 485 | } |
| 486 | |
| 487 | slices.Sort(result) |
| 488 | return result |
| 489 | } |
| 490 | |
| 491 | // ListMaterializedViewNames lists the materialized view names. |
| 492 | func (s *SchemaMetadata) ListMaterializedViewNames() []string { |
no test coverage detected