Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
- decruftify old visitors used by orm, convert to functions that use a common traversal function. - TranslatingDict is finally gone, thanks to column.proxy_set simpleness...hooray ! - shoved "slice" use case on RowProxy into an exception case. knocks noticeable time off of large result set operations.
Mike Bayer
- all kinds of cleanup, tiny-to-slightly-significant speed improvements
Mike Bayer
more changes to merge(dont_load); since we now have a guarantee that all merged instances aren't dirty, we can copy the attribues without using any append/replace events, and therefore don't have any concern of lazy loaders firing off. added tests to ensure that '_is_orphan()' doesn't get screwed up, and also that the 'dirty' list on the new session stays empty, which is an extra bonus of this approach.
Mike Bayer
- some clarifications and fixes to merge(instance, dont_load=True). fixed bug where lazy loaders were getting disabled on returned instances. Also, we currently do not support merging an instance which has uncommitted changes on it, in the case that dont_load=True is used....this will now raise an error. This is due to complexities in merging the "committed state" of the given instance to correctly correspond to the newly copied instance. Since the use case for …
jason kirtland
Typo fix
Mike Bayer
- clarified the error message which occurs when you try to update() an instance with the same identity key as an instance already present in the session. - opened up the recursive checks in session.merge() a little bit
Mike Bayer
- fixed endless loop issue when using lazy="dynamic" on both sides of a bi-directional relationship [ticket:872]
Mike Bayer
add a polymorphic get() test
Mike Bayer
doctest fixups
Tags
rel_0_4_1
Mike Bayer
- added tests for [ticket:768]
Mike Bayer
- added op() operator to instrumented attributes; i.e. User.name.op('ilike')('%somename%') [ticket:767]
Mike Bayer
- MSSQL anonymous labels for selection of functions made deterministic - propagate correct **kwargs through mssql methods
Mike Bayer
repaired FB functions, [ticket:862]
jason kirtland
Tests for mysql casts and a couple adjustments.
jason kirtland
- Clarified use of python's Decimal
jason kirtland
Migrated Connection.properties to Connection.info ('info' is the new standard name for user-writable property collections that came out of [ticket:573]). 'properties' is now an alias, will be removed in 0.5.
Mike Bayer
- added a little more checking for garbage-collection dereferences in InstanceState.__cleanup() to reduce "gc ignored" errors on app shutdown
Mike Bayer
added some ORDER BYs to appease the ever picky postgres
Mike Bayer
- PickleType will compare using `==` when set up with mutable=False, and not the `is` operator. To use `is` or any other comparator, send in a custom comparison function using PickleType(comparator=my_custom_comparator).
Mike Bayer
test cases were not fully testing contains_eager() with regards to [ticket:777], fixed contains_eager() for more than one level deep
Mike Bayer
some wide zoomark ranges...
Mike Bayer
cut down a good deal of Join construction overhead
Mike Bayer
logging fixes
Mike Bayer
fixed both group-deferred attributes and expired attributes to not blow away changes made on attributes before the load takes place
Mike Bayer
- oracle will now reflect "DATE" as an OracleDateTime column, not OracleDate - added awareness of schema name in oracle table_names() function, fixes metadata.reflect(schema='someschema') [ticket:847]
Mike Bayer
removed is_expired() method since the meaning of "expired" is per-attribute now
Mike Bayer
oops, print statements...
Mike Bayer
typos
Mike Bayer
- session.refresh() and session.expire() now support an additional argument "attribute_names", a list of individual attribute keynames to be refreshed or expired, allowing partial reloads of attributes on an already-loaded instance. - finally simplified the behavior of deferred attributes, deferred polymorphic load, session.refresh, session.expire, mapper._postfetch to all use a single codepath through query._get(), which now supports a list of individual attribute names …
Mike Bayer
fixed further issues with row translation [ticket:868]
  1. Prev
  2. Next