Commits

Author Commit Message Labels Comments Date
Mike Bayer
- [feature] The registry of classes in declarative_base() is now a WeakValueDictionary. So subclasses of "Base" that are dereferenced will be garbage collected, *if they are not referred to by any other mappers/superclass mappers*. [ticket:2526]
Mike Bayer
- break up configure_property - fix this test for 2.5
Mike Bayer
move mapper-level UOW functionality straight into unitofwork also. there's no need for this to be per-mapper. can't move dependency init off of property though as this init needs to happen up front, added a test to prove it.
Mike Bayer
- move load_scalar_attributes out to loading.py
Mike Bayer
attempt to fix this test for pypy
Mike Bayer
- [bug] Fixed more un-intuitivenesses in CTEs which prevented referring to a CTE in a union of itself without it being aliased. CTEs now render uniquely on name, rendering the outermost CTE of a given name only - all other references are rendered just as the name. This even includes other CTE/SELECTs that refer to different versions of the same CTE object, such as a SELECT or a UNION ALL of that SELECT. W…
Branches
rel_0_7
Mike Bayer
- [bug] Fixed more un-intuitivenesses in CTEs which prevented referring to a CTE in a union of itself without it being aliased. CTEs now render uniquely on name, rendering the outermost CTE of a given name only - all other references are rendered just as the name. This even includes other CTE/SELECTs that refer to different versions of the same CTE object, such as a SELECT or a UNION ALL of that SELECT. W…
Mike Bayer
- [bug] ORM will perform extra effort to determine that an FK dependency between two tables is not significant during flush if the tables are related via joined inheritance and the FK dependency is not part of the inherit_condition, saves the user a use_alter directive. [ticket:2527]
Mike Bayer
add section on replacing result_processor()/bind_processor()
Mike Bayer
2.3 is a distant memory
Mike Bayer
rework imports here
Mike Bayer
except the example was wrong.
Branches
rel_0_7
Mike Bayer
except the example was wrong.
Mike Bayer
- add a nice example about begin_nested as context manager.
Branches
rel_0_7
Mike Bayer
- add a nice example about begin_nested as context manager.
Mike Bayer
- this is now ported to 0.7.9
Mike Bayer
- using sublime, so there's mass trailing whitespace removal - port from 0.8: Fixed bug whereby a disconnect detect + dispose that occurs when the QueuePool has threads waiting for connections would leave those threads waiting for the duration of the timeout on the old pool (or indefinitely if timeout was disabled). The fix now notifies those waiters with a special exception case and has them move onto the new pool. [ticket:2522]
Branches
rel_0_7
Marc Abramowitz
Merge with upstream
Marc Abramowitz
Add .tox for .hgignore
Marc Abramowitz
Add tox.ini for tox (http://tox.testrun.org/)
Mike Bayer
add a section on many-to-many deletes
Branches
rel_0_7
Mike Bayer
add a section on many-to-many deletes
Mike Bayer
merge next() compatibility
Branches
rel_0_7
Mike Bayer
notify_all workaround for 2.5
Mike Bayer
add 2.5 compat for next()
Mike Bayer
turn commit_all into an iterative method
Mike Bayer
- move cte tests into their own test/sql/test_cte.py - rework bindtemplate system of "numbered" params by applying the numbers last, as we now need to generate these out of order in some cases - add positional assertion to assert_compile - add new cte_positional collection to track bindparams generated within cte visits; splice this onto the beginning of self.positiontup at cte render time, [ticket:2521]
Branches
rel_0_7
Mike Bayer
- pass kw through here
Mike Bayer
- move cte tests into their own test/sql/test_cte.py - rework bindtemplate system of "numbered" params by applying the numbers last, as we now need to generate these out of order in some cases - add positional assertion to assert_compile - add new cte_positional collection to track bindparams generated within cte visits; splice this onto the beginning of self.positiontup at cte render time, [ticket:2521]
Mike Bayer
- change notify to notify_all() so all waiters exit immediately, continuing [ticket:2522]
  1. Prev
  2. Next