mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-16 05:37:16 -04:00
546015e6e1
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.
15 lines
399 B
Python
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::
|
|
|
|
"""
|