summaryrefslogtreecommitdiff
path: root/doc/build/orm/deprecated.rst
blob: 8d277011c45779d010299e320207e92c4c1073c4 (plain)
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
:orphan:

.. _dep_interfaces_orm_toplevel:

Deprecated ORM Event Interfaces
================================

.. module:: sqlalchemy.orm.interfaces

This section describes the class-based ORM event interface which first
existed in SQLAlchemy 0.1, which progressed with more kinds of events up
until SQLAlchemy 0.5.  The non-ORM analogue is described at :ref:`dep_interfaces_core_toplevel`.

.. deprecated:: 0.7
    As of SQLAlchemy 0.7, the new event system described in
    :ref:`event_toplevel` replaces the extension/proxy/listener system, providing
    a consistent interface to all events without the need for subclassing.

Mapper Events
-----------------

.. autoclass:: MapperExtension
    :members:

Session Events
-----------------

.. autoclass:: SessionExtension
    :members:

Attribute Events
--------------------

.. autoclass:: AttributeExtension
    :members: