--- /tmp/sqlalchemy-1.3.22+ds1-180pn_2ii/debian/python-sqlalchemy-doc_1.3.22+ds1-1_all.deb +++ python-sqlalchemy-doc_1.3.22+ds1-1_all.deb ├── file list │ @@ -1,3 +1,3 @@ │ -rw-r--r-- 0 0 0 4 2020-12-30 16:25:19.000000 debian-binary │ --rw-r--r-- 0 0 0 11320 2020-12-30 16:25:19.000000 control.tar.xz │ --rw-r--r-- 0 0 0 2558188 2020-12-30 16:25:19.000000 data.tar.xz │ +-rw-r--r-- 0 0 0 11316 2020-12-30 16:25:19.000000 control.tar.xz │ +-rw-r--r-- 0 0 0 2558256 2020-12-30 16:25:19.000000 data.tar.xz ├── control.tar.xz │ ├── control.tar │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ ├── data.tar.xz │ ├── data.tar │ │ ├── ./usr/share/doc/python-sqlalchemy-doc/html/orm/examples.html │ │ │┄ Ordering differences only │ │ │ @@ -215,27 +215,27 @@ │ │ │ │ │ │
│ │ │

Associations

│ │ │

Examples illustrating the usage of the “association object” pattern, │ │ │ where an intermediary class mediates the relationship between two │ │ │ classes that are associated in a many-to-many pattern.

│ │ │

Listing of files:

│ │ │

│ │ │
│ │ │
│ │ │

Directed Graphs

│ │ │

An example of persistence for a directed graph structure. The │ │ │ graph is stored as a collection of edges, each referencing both a │ │ │ @@ -272,18 +272,14 @@ │ │ │ subclassing the HasAddresses mixin, which ensures that the │ │ │ parent class is provided with an addresses collection │ │ │ which contains Address objects.

│ │ │

The discriminator_on_association.py and generic_fk.py scripts │ │ │ are modernized versions of recipes presented in the 2007 blog post │ │ │ Polymorphic Associations with SQLAlchemy.

│ │ │

Listing of files:

│ │ │

│ │ │
│ │ │
│ │ │

Large Collections

│ │ │

Large collection example.

│ │ │

Illustrates the options to use with │ │ │ @@ -389,25 +389,25 @@ │ │ │

│ │ │

See also

│ │ │

How can I profile a SQLAlchemy powered application?

│ │ │
│ │ │
│ │ │

File Listing

│ │ │

Listing of files:

│ │ │
│ │ │
│ │ │

Vertical Attribute Mapping

│ │ │

Illustrates “vertical table” mappings.

│ │ │ @@ -783,37 +783,37 @@ │ │ │
│ │ │

Inheritance Mapping Recipes

│ │ │
│ │ │

Basic Inheritance Mappings

│ │ │

Working examples of single-table, joined-table, and concrete-table │ │ │ inheritance as described in Mapping Class Inheritance Hierarchies.

│ │ │

Listing of files:

    │ │ │ -
  • single.py - Single-table (table-per-hierarchy) inheritance example.

    │ │ │ +
  • concrete.py - Concrete-table (table-per-class) inheritance example.

    │ │ │

  • │ │ │
  • joined.py - Joined-table (table-per-subclass) inheritance example.

    │ │ │

  • │ │ │ -
  • concrete.py - Concrete-table (table-per-class) inheritance example.

    │ │ │ +
  • single.py - Single-table (table-per-hierarchy) inheritance example.

    │ │ │

  • │ │ │
│ │ │

│ │ │
│ │ │
│ │ │
│ │ │

Special APIs

│ │ │
│ │ │

Attribute Instrumentation

│ │ │

Examples illustrating modifications to SQLAlchemy’s attribute management │ │ │ system.

│ │ │

Listing of files:

    │ │ │ -
  • listen_for_events.py - Illustrates how to attach events to all instrumented attributes │ │ │ -and listen for change events.

    │ │ │ -

  • │ │ │
  • custom_management.py - Illustrates customized class instrumentation, using │ │ │ the sqlalchemy.ext.instrumentation extension package.

    │ │ │

  • │ │ │ +
  • listen_for_events.py - Illustrates how to attach events to all instrumented attributes │ │ │ +and listen for change events.

    │ │ │ +

  • │ │ │
  • active_column_defaults.py - Illustrates use of the AttributeEvents.init_scalar() │ │ │ event, in conjunction with Core column defaults to provide │ │ │ ORM objects that automatically produce the default value │ │ │ when an un-set attribute is accessed.

    │ │ │

  • │ │ │
│ │ │