class documentation

class FetchedValue(SchemaEventTarget):

Known subclasses: sqlalchemy.sql.schema.Computed, sqlalchemy.sql.schema.DefaultClause, sqlalchemy.sql.schema.Identity

View In Hierarchy

A marker for a transparent database-side default.

Use .FetchedValue when the database is configured to provide some automatic default for a column.

E.g.:

Column('foo', Integer, FetchedValue())

Would indicate that some trigger or default generator will create a new value for the foo column during an INSERT.

Method __init__ Undocumented
Method __repr__ Undocumented
Method ​_as​_for​_update Undocumented
Method ​_clone Undocumented
Method ​_set​_parent Associate with this SchemaEvent's parent object.
Class Variable has​_argument Undocumented
Class Variable is​_clause​_element Undocumented
Class Variable is​_server​_default Undocumented
Class Variable reflected Undocumented
Instance Variable column Undocumented
Instance Variable for​_update Undocumented

Inherited from SchemaEventTarget:

Method ​_set​_parent​_with​_dispatch Undocumented
def __init__(self, for_update=False):
def __repr__(self):

Undocumented

def _as_for_update(self, for_update):
def _clone(self, for_update):

Undocumented

def _set_parent(self, column, **kw):
Associate with this SchemaEvent's parent object.
has_argument: bool =

Undocumented

is_clause_element: bool =

Undocumented

is_server_default: bool =

Undocumented

reflected: bool =

Undocumented

for_update =

Undocumented