class documentation

class SchemaConst(Enum): (source)

View In Hierarchy

Undocumented

Constant BLANK_SCHEMA Symbol indicating that a :class:`_schema.Table` or :class:`.Sequence` should have 'None' for its schema, even if the parent :class:`_schema.MetaData` has specified a schema.
Constant NULL_UNSPECIFIED Symbol indicating the "nullable" keyword was not passed to a Column.
Constant RETAIN_SCHEMA Symbol indicating that a :class:`_schema.Table`, :class:`.Sequence` or in some cases a :class:`_schema.ForeignKey` object, in situations where the object is being copied for a :meth:`.Table.to_metadata` operation, should retain the schema name that it already has.
BLANK_SCHEMA: int = (source)

Symbol indicating that a :class:`_schema.Table` or :class:`.Sequence` should have 'None' for its schema, even if the parent :class:`_schema.MetaData` has specified a schema. .. seealso:: :paramref:`_schema.MetaData.schema` :paramref:`_schema.Table.schema` :paramref:`.Sequence.schema` .. versionadded:: 1.0.14

Value
2
NULL_UNSPECIFIED: int = (source)

Symbol indicating the "nullable" keyword was not passed to a Column. This is used to distinguish between the use case of passing ``nullable=None`` to a :class:`.Column`, which has special meaning on some backends such as SQL Server.

Value
3
RETAIN_SCHEMA: int = (source)

Symbol indicating that a :class:`_schema.Table`, :class:`.Sequence` or in some cases a :class:`_schema.ForeignKey` object, in situations where the object is being copied for a :meth:`.Table.to_metadata` operation, should retain the schema name that it already has.

Value
1