(
self, sequence: schema.Sequence, use_schema: bool = True
)
| 7855 | return collation_name |
| 7856 | |
| 7857 | def format_sequence( |
| 7858 | self, sequence: schema.Sequence, use_schema: bool = True |
| 7859 | ) -> str: |
| 7860 | name = self.quote(sequence.name) |
| 7861 | |
| 7862 | effective_schema = self.schema_for_object(sequence) |
| 7863 | |
| 7864 | if ( |
| 7865 | not self.omit_schema |
| 7866 | and use_schema |
| 7867 | and effective_schema is not None |
| 7868 | ): |
| 7869 | name = self.quote_schema(effective_schema) + "." + name |
| 7870 | return name |
| 7871 | |
| 7872 | def format_label( |
| 7873 | self, label: Label[Any], name: Optional[str] = None |