ListSequenceNames lists the sequence names.
()
| 501 | |
| 502 | // ListSequenceNames lists the sequence names. |
| 503 | func (s *SchemaMetadata) ListSequenceNames() []string { |
| 504 | var result []string |
| 505 | for _, sequence := range s.internalSequences { |
| 506 | result = append(result, sequence.GetName()) |
| 507 | } |
| 508 | |
| 509 | slices.Sort(result) |
| 510 | return result |
| 511 | } |
| 512 | |
| 513 | // CreateTable creates a new table in the schema. |
| 514 | // Returns the created TableMetadata or an error if the table already exists. |
no test coverage detected