summaryrefslogtreecommitdiff
path: root/examples/large_collection/__init__.py
blob: 432d9196f2661cf1f3ba97a211baa1edb82324cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""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::

"""