diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-07-19 22:56:34 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-07-19 22:56:34 -0400 |
commit | af61551a112b5cedcaf56470101b8a4f8523573d (patch) | |
tree | 2a99bdf94306c6282a79e9eb9548e71e6651e203 /lib/sqlalchemy/event/api.py | |
parent | 261b46d9477b58dfabbefbe4e01c8c5a9f912f24 (diff) | |
download | sqlalchemy-af61551a112b5cedcaf56470101b8a4f8523573d.tar.gz |
- Improved the examples in ``examples/generic_associations``, including
that ``discriminator_on_association.py`` makes use of single table
inheritance do the work with the "discriminator". Also
added a true "generic foreign key" example, which works similarly
to other popular frameworks in that it uses an open-ended integer
to point to any other table, foregoing traditional referential
integrity. While we don't recommend this pattern, information wants
to be free. Also in 0.8.3.
- Added a convenience class decorator :func:`.as_declarative`, is
a wrapper for :func:`.declarative_base` which allows an existing base
class to be applied using a nifty class-decorated approach. Also
in 0.8.3.
Diffstat (limited to 'lib/sqlalchemy/event/api.py')
0 files changed, 0 insertions, 0 deletions