File: __init__.py

package info (click to toggle)
sqlalchemy 1.0.15%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,056 kB
  • ctags: 26,600
  • sloc: python: 169,901; ansic: 1,346; makefile: 260; xml: 17
file content (14 lines) | stat: -rw-r--r-- 399 bytes parent folder | download | duplicates (7)
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::

"""