- remove unnecessary postgresql visit that's equal to the default compiler
- clarify type_annotation_map documentation
Change-Id: I0c1fa212d06f6af799a5894802574250622c855e
text += self._define_constraint_validity(constraint)
return text
- def visit_drop_table_comment(self, drop):
- return "COMMENT ON TABLE %s IS NULL" % self.preparer.format_table(
- drop.element
- )
-
def visit_create_enum_type(self, create):
type_ = create.element
inter-base relationships.
:param type_annotation_map: optional dictionary of Python types to
- SQLAlchemy :class:`_types.TypeEngine` classes or instances. This
+ SQLAlchemy :class:`_types.TypeEngine` classes or instances.
+ The provided dict will update the default type mapping. This
is used exclusively by the :class:`_orm.MappedColumn` construct
to produce column types based on annotations within the
:class:`_orm.Mapped` type.