(self, identity, **kw)
| 7607 | return text |
| 7608 | |
| 7609 | def visit_identity_column(self, identity, **kw): |
| 7610 | text = "GENERATED %s AS IDENTITY" % ( |
| 7611 | "ALWAYS" if identity.always else "BY DEFAULT", |
| 7612 | ) |
| 7613 | options = self.get_identity_options(identity) |
| 7614 | if options: |
| 7615 | text += " (%s)" % options |
| 7616 | return text |
| 7617 | |
| 7618 | |
| 7619 | class GenericTypeCompiler(TypeCompiler): |
nothing calls this directly
no test coverage detected