ListViewNames lists the view names.
()
| 468 | |
| 469 | // ListViewNames lists the view names. |
| 470 | func (s *SchemaMetadata) ListViewNames() []string { |
| 471 | var result []string |
| 472 | for _, view := range s.internalViews { |
| 473 | result = append(result, view.GetName()) |
| 474 | } |
| 475 | |
| 476 | slices.Sort(result) |
| 477 | return result |
| 478 | } |
| 479 | |
| 480 | // ListForeignTableNames lists the foreign table names. |
| 481 | func (s *SchemaMetadata) ListForeignTableNames() []string { |
no test coverage detected