class NativeForEmulated(object):
Known subclasses: sqlalchemy.dialects.mysql.enumerated.ENUM
, sqlalchemy.dialects.oracle.INTERVAL
, sqlalchemy.dialects.postgresql.ENUM
, sqlalchemy.dialects.postgresql.INTERVAL
Indicates DB-native types supported by an .Emulated
type.
Class Method | adapt_emulated_to_native |
Given an impl, adapt this type's class to the impl assuming "native". |
Class Method | adapt_native_to_emulated |
Given an impl, adapt this type's class to the impl assuming "emulated". |
sqlalchemy.dialects.mysql.enumerated.ENUM
, sqlalchemy.dialects.postgresql.ENUM
, sqlalchemy.dialects.postgresql.INTERVAL
Given an impl, adapt this type's class to the impl assuming "native".
The impl will be an .Emulated
class but not a
.NativeForEmulated
.
e.g.: postgresql.ENUM produces a type given an Enum instance.