(
self, constraint: Constraint, **kw: Any
)
| 7490 | return text |
| 7491 | |
| 7492 | def define_constraint_preamble( |
| 7493 | self, constraint: Constraint, **kw: Any |
| 7494 | ) -> str: |
| 7495 | text = "" |
| 7496 | if constraint.name is not None: |
| 7497 | formatted_name = self.preparer.format_constraint(constraint) |
| 7498 | if formatted_name is not None: |
| 7499 | text += "CONSTRAINT %s " % formatted_name |
| 7500 | return text |
| 7501 | |
| 7502 | def define_primary_key_body( |
| 7503 | self, constraint: PrimaryKeyConstraint, **kw: Any |
no test coverage detected