~ubuntu-branches/debian/jessie/sqlalchemy/jessie

« back to all changes in this revision

Viewing changes to examples/large_collection/__init__.py

  • Committer: Package Import Robot
  • Author(s): Piotr Ożarowski, Jakub Wilk, Piotr Ożarowski
  • Date: 2013-07-06 20:53:52 UTC
  • mfrom: (1.4.23) (16.1.17 experimental)
  • Revision ID: package-import@ubuntu.com-20130706205352-ryppl1eto3illd79
Tags: 0.8.2-1
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.

[ Piotr Ożarowski ]
* New upstream release
* Upload to unstable
* Build depend on python3-all instead of -dev, extensions are not built for
  Python 3.X 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
"""Large collection example.
2
2
 
3
 
Illustrates the options to use with :func:`~sqlalchemy.orm.relationship()` when the list of related objects is very large, including:
 
3
Illustrates the options to use with
 
4
:func:`~sqlalchemy.orm.relationship()` when the list of related
 
5
objects is very large, including:
4
6
 
5
7
* "dynamic" relationships which query slices of data as accessed
6
 
* how to use ON DELETE CASCADE in conjunction with ``passive_deletes=True`` to greatly improve the performance of related collection deletion.
 
8
* how to use ON DELETE CASCADE in conjunction with
 
9
  ``passive_deletes=True`` to greatly improve the performance of
 
10
  related collection deletion.
7
11
 
8
12
"""