Mike Bayer
ed4fc64bb0
merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to maintenance branch in branches/rel_0_3.
2007-07-27 04:08:53 +00:00
Jason Kirtland
177d30cc01
- Deprecated DynamicMetaData- use ThreadLocalMetaData or MetaData instead
...
- Deprecated BoundMetaData- use MetaData instead
- Removed DMD and BMD from documentation
2007-07-06 00:58:09 +00:00
Mike Bayer
4302d162ae
documented eager load fix
2007-06-08 14:24:10 +00:00
Mike Bayer
4215a5f200
- eager loader calls select_mapper so that poly rulesets get picked up
...
- changed polymorph example to use a single set of outerjoins
2007-06-08 03:17:11 +00:00
Mike Bayer
695f65db85
- added an assertion within the "cascade" step of ORM relationships to check
...
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
2006-11-03 01:17:28 +00:00
Mike Bayer
8f2dddc171
echo=True
2006-07-18 15:13:32 +00:00
Mike Bayer
f8314ef9ff
improvements/fixes to session cascade iteration,
...
fixes to entity_name propigation
2006-06-05 02:31:53 +00:00
Mike Bayer
bb79e2e871
merged 0.2 branch into trunk; 0.1 now in sqlalchemy/branches/rel_0_1
2006-05-25 14:20:23 +00:00
Mike Bayer
dbf936c30b
added explicit "session" argument to get(), select_whereclause in mapper, as well as throughout the call-chain for those. lazy loader honors the "session" of the parent object, + added simple unit test
2006-04-06 19:01:14 +00:00
Mike Bayer
787484945c
put proper return type
2006-04-03 22:48:28 +00:00
Mike Bayer
fcace31b88
improved translation of rows when proxying rows from one mapper to another.
2006-03-26 07:21:28 +00:00
Mike Bayer
34d961cde0
got some support for mapping to a select that only selects some of the columns of an underlying table
2006-03-25 02:25:59 +00:00
Mike Bayer
b1deaf1fb7
some more tweaks to get more advanced polymorphic stuff to work
2006-03-24 06:28:27 +00:00
Mike Bayer
865e2aaa19
a few tweaks and the polymorph example can also use eager loading
2006-03-20 01:16:16 +00:00
Mike Bayer
6bb1f8e701
got dilbert to be properly modified....
2006-03-19 21:12:10 +00:00
Mike Bayer
b5060e88ff
added 'noninherited table' prop to mapper indicating the "lead" table, in 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.
2006-03-09 00:24:15 +00:00
Mike Bayer
1644a44628
a mapper with inheritance will place itself as "dependent" on the inherited 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)
2006-03-06 03:10:46 +00:00
Mike Bayer
a0079b6831
added new 'polymorphic' example. still trying to understand it :) .
...
fixes to relation to enable it to locate "direction" more consistently with inheritance relationships
more tweaks to parenthesizing subqueries, unions, etc.
2006-03-06 02:27:13 +00:00