1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
.. _orm_event_toplevel:
ORM Events
==========
The ORM includes a wide variety of hooks available for subscription.
.. versionadded:: 0.7
The event supersedes the previous system of "extension" classes.
For an introduction to the event API, see :ref:`event_toplevel`. Non-ORM events
such as those regarding connections and low-level statement execution are described in
:ref:`core_event_toplevel`.
Attribute Events
----------------
.. autoclass:: sqlalchemy.orm.events.AttributeEvents
:members:
Mapper Events
---------------
.. autoclass:: sqlalchemy.orm.events.MapperEvents
:members:
Instance Events
---------------
.. autoclass:: sqlalchemy.orm.events.InstanceEvents
:members:
Session Events
--------------
.. autoclass:: sqlalchemy.orm.events.SessionEvents
:members:
Instrumentation Events
-----------------------
.. automodule:: sqlalchemy.orm.instrumentation
.. autoclass:: sqlalchemy.orm.events.InstrumentationEvents
:members:
|