151
151
<span id="event-toplevel"></span><h1>Events<a class="headerlink" href="#events" title="Permalink to this headline">¶</a></h1>
152
152
<p>SQLAlchemy includes an event API which publishes a wide variety of hooks into
153
153
the internals of both SQLAlchemy Core and ORM.</p>
155
<span class="versionmodified">New in version 0.7: </span>The system supercedes the previous system of “extension”, “proxy”,
155
<p><span>New in version 0.7: </span>The system supercedes the previous system of “extension”, “proxy”,
156
156
and “listener” classes.</p>
157
158
<div class="section" id="event-registration">
158
159
<h2>Event Registration<a class="headerlink" href="#event-registration" title="Permalink to this headline">¶</a></h2>
159
160
<p>Subscribing to an event occurs through a single API point, the <a class="reference internal" href="#sqlalchemy.event.listen" title="sqlalchemy.event.listen"><tt class="xref py py-func docutils literal"><span class="pre">listen()</span></tt></a> function. This function