Commits

Author Commit Message Labels Comments Date
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
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]
Mike Bayer
remove WeakIdentityMapping tests
Mike Bayer
- somehting is making this test have an inconsistent callcount
Mike Bayer
- [moved] The InstrumentationManager interface and the entire related system of alternate class implementation is now moved out to sqlalchemy.ext.instrumentation. This is a seldom used system that adds significant complexity and overhead to the mechanics of class instrumentation. The new architecture allows it to remain unused until InstrumentationManager is actually imported, at which point it is bootstrapped into the core.
Mike Bayer
2.5 compat
Mike Bayer
- fix this import - call loading.instances
Mike Bayer
- absolute imports in connectors, databases
Mike Bayer
absolute imports in core, sql
Mike Bayer
- move all of orm to use absolute imports - 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
Mike Bayer
- simplify setup_entity and related calls - break _compile_context() into three methods
Mike Bayer
callcounts, due to the DummyLock cleanup
Mike Bayer
- [bug] Fixed bug whereby if a database restart affected multiple connections, each connection would individually invoke a new disposal of the pool, even though only one disposal is needed. [ticket:2522]
Mike Bayer
- [bug] 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. The fix now notifies those waiters with a special exception case and has them move onto the new pool. This fix may or may not be ported to 0.7. [ticket:2522]
Mike Bayer
- [removed] Deprecated identifiers removed: * allow_null_pks mapper() argument (use allow_partial_pks) * _get_col_to_prop() mapper method (use get_property_by_column()) * dont_load argument to Session.merge() (use load=True) * sqlalchemy.orm.shard module (use sqlalchemy.ext.horizontal_shard)
Mike Bayer
- [bug] quoting is applied to the column names inside the WITH RECURSIVE clause of a common table expression according to the quoting rules for the originating Column. [ticket:2512]
Branches
rel_0_7
  1. Prev
  2. Next