summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/loading.py
Commit message (Collapse)AuthorAgeFilesLines
* - the raw 2to3 runMike Bayer2013-04-271-6/+6
| | | | - went through examples/ and cleaned out excess list() calls
* :meth:`.Query.merge_result` can now load rows from an outer joinMike Bayer2013-01-081-4/+5
| | | | | where an entity may be ``None`` without throwing an error. [ticket:2640]
* happy new year (see #2645)Diana Clarke2013-01-011-1/+1
|
* - refactor of pathing mechanics, to address #2614, #2617Mike Bayer2012-12-011-9/+6
| | | | | | | | | | | | | | | | | | | - paths now store Mapper + MapperProperty now instead of string key, so that the parent mapper for the property is known, supports same-named properties on multiple subclasses - the Mapper within the path is now always relevant to the property to the right of it. PathRegistry does the translation now, instead of having all the outside users of PathRegistry worry about it, to produce a path that is much more consistent. Paths are now consistent with mappings in all cases. Special logic to get at "with_polymorphic" structures and such added also. - AliasedClass now has two modes, "use_mapper_path" and regular; "use_mapper_path" is for all those situations where we put an AliasedClass in for a plain class internally, and want it to "path" with the plain mapper. - The AliasedInsp is now the first class "entity" for an AliasedClass, and is passed around internally and used as attr._parententity and such. it is the AliasedClass analogue for Mapper.
* just a pep8 pass of lib/sqlalchemy/orm/Diana Clarke2012-11-191-2/+8
|
* - add coverage for merge_result() [ticket:2588]Mike Bayer2012-10-111-1/+2
| | | | - pre-determine keys for the keyed tuples
* - with InstanceState more public, underscore all its methodsMike Bayer2012-07-181-4/+4
| | | | | that change object state as these aren't intended for public use.
* - justify NamedTuple, now called KeyedTupleMike Bayer2012-07-161-1/+1
| | | | - fix this test
* - move load_scalar_attributes out to loading.pyMike Bayer2012-07-141-0/+65
|
* rework imports hereMike Bayer2012-07-031-36/+35
|
* turn commit_all into an iterative methodMike Bayer2012-06-251-3/+5
|
* 2.5 compatMike Bayer2012-06-231-1/+3
|
* - move all of orm to use absolute importsMike Bayer2012-06-231-0/+533
- break out key mechanics of loading objects into new "orm.loading" module, removing implementation details from both mapper.py and query.py. is analogous to persistence.py - some other cleanup and old cruft removal