Class: Field

Represents the definition of a 'field' on an entity.

This class represents a column on the table where the entity is stored.

Constructor

__init__ (self, type, *args, **kwargs)

Methods

add_mapper_extension (self, ext)

add_mapper_property (self, name, prop)

add_table_column (self, column)

helper methods

after_mapper (self)

after_table (self)

attach (self, entity, name)

before_mapper (self)

before_table (self)

create_col (self)

create_non_pk_cols (self)

create_pk_cols (self)

create_properties (self)

create_tables (self)

Subclasses may override this method to create tables.

finalize (self)