Files
sqlalchemy/examples/large_collection/__init__.py
T
Mike Bayer 546015e6e1 - add a new sphinx extension "viewsource". takes advantage of part of the viewcode extension
to allow ad-hoc display of the source of any file, as well as a "directory listing" structure.
- reorganize examples/ to take advantage of new extension.  in particular, keep moving all
the descriptive text for files etc. into module docstrings, taking more advantage of
self-documentation.
2013-11-09 19:42:01 -05:00

15 lines
399 B
Python

"""Large collection example.
Illustrates the options to use with
:func:`~sqlalchemy.orm.relationship()` when the list of related
objects is very large, including:
* "dynamic" relationships which query slices of data as accessed
* how to use ON DELETE CASCADE in conjunction with
``passive_deletes=True`` to greatly improve the performance of
related collection deletion.
.. autosource::
"""