Files
sqlalchemy/examples/large_collection/__init__.py
T
2013-02-02 18:54:54 -05:00

13 lines
382 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.
"""