class documentation

class DefaultGenerator(Executable, SchemaItem):

Known subclasses: sqlalchemy.sql.schema.ColumnDefault, sqlalchemy.sql.schema.Sequence

View In Hierarchy

Base class for column default values.
Method __init__ Undocumented
Method ​_execute​_on​_connection Undocumented
Method ​_set​_parent Associate with this SchemaEvent's parent object.
Method execute Compile and execute this .Executable.
Class Variable __visit​_name__ Undocumented
Class Variable is​_sequence Undocumented
Class Variable is​_server​_default Undocumented
Instance Variable column Undocumented
Instance Variable for​_update Undocumented
Property bind Return the connectable associated with this default.

Inherited from Executable:

Method ​_add​_context​_option Add a context option to this statement.
Method ​_set​_compile​_options Assign the compile options to a new value.
Method ​_update​_compile​_options update the _compile_options with new keys.
Method execution​_options Set non-SQL options for the statement which take effect during execution.
Method get​_execution​_options Get the non-SQL options which will take effect during execution.
Method options Apply options to this statement.
Method scalar Compile and execute this .Executable, returning the result's scalar representation.
Class Variable ​_bind Undocumented
Class Variable ​_executable​_traverse​_internals Undocumented
Class Variable ​_with​_context​_options Undocumented
Class Variable ​_with​_options Undocumented
Class Variable is​_delete Undocumented
Class Variable is​_dml Undocumented
Class Variable is​_insert Undocumented
Class Variable is​_select Undocumented
Class Variable is​_text Undocumented
Class Variable is​_update Undocumented
Class Variable supports​_execution Undocumented
Instance Variable ​_compile​_options Undocumented
Instance Variable ​_execution​_options Undocumented
Property ​_effective​_plugin​_target Undocumented

Inherited from StatementRole (via Executable):

Class Variable ​_propagate​_attrs Undocumented
Class Variable ​_role​_name Undocumented

Inherited from SQLRole (via Executable, StatementRole):

Class Variable allows​_lambda Undocumented
Class Variable uses​_inspection Undocumented

Inherited from Generative (via Executable):

Method ​_generate Undocumented

Inherited from SchemaItem:

Method __repr__ Undocumented
Method ​_init​_items Initialize the list of child items for this SchemaItem.
Method ​_schema​_item​_copy Undocumented
Class Variable ​_use​_schema​_map Undocumented
Class Variable create​_drop​_stringify​_dialect Undocumented
Property info Info dictionary associated with the object, allowing user-defined data to be associated with this .SchemaItem.

Inherited from SchemaEventTarget (via SchemaItem):

Method ​_set​_parent​_with​_dispatch Undocumented

Inherited from Traversible (via SchemaItem):

Method get​_children Return immediate child .visitors.Traversible elements of this .visitors.Traversible.
Method __class​_getitem__ Undocumented
def __init__(self, for_update=False):
def _execute_on_connection(self, connection, multiparams, params, execution_options):

Undocumented

def _set_parent(self, column, **kw):
Associate with this SchemaEvent's parent object.
@util.deprecated_20(':meth:`.DefaultGenerator.execute`', alternative='All statement execution in SQLAlchemy 2.0 is performed by the :meth:`_engine.Connection.execute` method of :class:`_engine.Connection`, or in the ORM by the :meth:`.Session.execute` method of :class:`.Session`.')
def execute(self, bind=None):
Compile and execute this .Executable.
__visit_name__: str =
is_sequence: bool =

Undocumented

is_server_default: bool =

Undocumented

column =

Undocumented

for_update =

Undocumented

@property
bind =
Return the connectable associated with this default.