summaryrefslogtreecommitdiff
path: root/examples/polymorph/polymorph.py
Commit message (Collapse)AuthorAgeFilesLines
* - mega example cleanupMike Bayer2010-01-191-104/+0
| | | | | | - added READMEs to all examples in each __init__.py and added to sphinx documentation - added versioning example - removed vertical/vertical.py, the dictlikes are more straightforward
* Added in Examples into the test suite so they get exercised regularly. ↵Michael Trier2009-07-271-1/+1
| | | | Cleaned up some deprecation warnings in the examples.
* Lots of fixes to the code examples to specify imports explicitly.Michael Trier2009-03-311-11/+11
| | | | | | | Explicit imports make it easier for users to understand the examples. Additionally a lot of the examples were fixed to work with the changes in the 0.5.x code base. One small correction to the Case expression. Thanks a bunch to Adam Lowry! Fixes #717.
* merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to ↵Mike Bayer2007-07-271-3/+4
| | | | maintenance branch in branches/rel_0_3.
* - Deprecated DynamicMetaData- use ThreadLocalMetaData or MetaData insteadJason Kirtland2007-07-061-1/+1
| | | | | - Deprecated BoundMetaData- use MetaData instead - Removed DMD and BMD from documentation
* documented eager load fixMike Bayer2007-06-081-1/+1
|
* - eager loader calls select_mapper so that poly rulesets get picked upMike Bayer2007-06-081-10/+3
| | | | - changed polymorph example to use a single set of outerjoins
* - added an assertion within the "cascade" step of ORM relationships to checkMike Bayer2006-11-031-2/+1
| | | | | | | | that the class of object attached to a parent object is appropriate (i.e. if A.items stores B objects, raise an error if a C is appended to A.items) - new extension sqlalchemy.ext.associationproxy, provides transparent "association object" mappings. new example examples/association/proxied_association.py illustrates. - some example cleanup
* echo=TrueMike Bayer2006-07-181-1/+1
|
* improvements/fixes to session cascade iteration,Mike Bayer2006-06-051-0/+1
| | | | fixes to entity_name propigation
* merged 0.2 branch into trunk; 0.1 now in sqlalchemy/branches/rel_0_1Mike Bayer2006-05-251-106/+71
|
* some more tweaks to get more advanced polymorphic stuff to workMike Bayer2006-03-241-7/+9
|
* a few tweaks and the polymorph example can also use eager loadingMike Bayer2006-03-201-2/+2
|
* got dilbert to be properly modified....Mike Bayer2006-03-191-1/+1
|
* added 'noninherited table' prop to mapper indicating the "lead" table, in ↵Mike Bayer2006-03-091-2/+2
| | | | | | | | the case of inheritance. relations now create priamry/secondary joins against that lead table. if you want to create it against an inherited table, use explicit join conditions. added 'correlate' argument to CompoundSelect to get polymorph example working again.
* a mapper with inheritance will place itself as "dependent" on the inherited ↵Mike Bayer2006-03-061-15/+27
| | | | mapper; even though this is not usually needed, it allows certain exotic combinations of mapper setups to work (i.e. the one in the polymorph example)
* added new 'polymorphic' example. still trying to understand it :) .Mike Bayer2006-03-061-0/+131
fixes to relation to enable it to locate "direction" more consistently with inheritance relationships more tweaks to parenthesizing subqueries, unions, etc.