ListTableNames lists the table names.
()
| 446 | |
| 447 | // ListTableNames lists the table names. |
| 448 | func (s *SchemaMetadata) ListTableNames() []string { |
| 449 | var result []string |
| 450 | for _, table := range s.internalTables { |
| 451 | result = append(result, table.GetProto().GetName()) |
| 452 | } |
| 453 | |
| 454 | slices.Sort(result) |
| 455 | return result |
| 456 | } |
| 457 | |
| 458 | // ListProcedureNames lists the procedure names. |
| 459 | func (s *SchemaMetadata) ListProcedureNames() []string { |
no test coverage detected