mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-28 03:26:01 -04:00
13 lines
382 B
Python
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.
|
|
|
|
"""
|