1. Daniel Miller
  2. sqlalchemy

Commits

Show all
Author Commit Message Date Builds
pje
Descriptor protocol cleanups, including optimization for ClassState (mirroring/caching descriptor inheritance).
jason kirtland
Collections instrumentation made fully pluggable.
Mike Bayer
dev
Mike Bayer
fixes, added test suite for attribute ext api
Mike Bayer
refined API
Mike Bayer
also fix get_inst() implementation
Mike Bayer
added weak-resurrection manage() behavior
Mike Bayer
rearrangement allowing user defined ClassState and InstanceState implementations; no class-level attribute access needed
Mike Bayer
branch
Mike Bayer
- implemented two-phase API for "threadlocal" engine, via engine.begin_twophase(), engine.prepare() [ticket:936]
Mike Bayer
- added exception wrapping/reconnect support to result set fetching. Reconnect works for those databases that raise a catchable data error during results (i.e. doesn't work on MySQL) [ticket:978]
Mike Bayer
silliness reduction
jason kirtland
- Invalid SQLite connection URLs now raise an error.
jason kirtland
C-u 66 C-x f M-q
Mike Bayer
- the value of a bindparam() can be a callable, in which case it's evaluated at statement execution time to get the value. - expressions used in filter(), filter_by() and others, when they make usage of a clause generated from a relation using the identity of a child object (e.g. filter(Parent.child==<somechild>)), evaluate the actual primary key value of <somechild> at execution time so that the autoflush step of the Query can complete, thereby populat…
jason kirtland
- Converted MAGICCOOKIE=object() to a little symbol implementation to ease object inspection and debugging
Mike Bayer
er, ok, dont do that (reversed last change). PG relies upon _register_clean for new PK switch even if no SQL is emitted.
Mike Bayer
dont treat "listonly" objects as newly clean
Mike Bayer
- preventive code against a potential lost-reference bug in flush()
Mike Bayer
- added a new "higher level" operator called "of_type()" - used in join() as well as with any() and has(), qualifies the subclass which will be used in filter criterion, e.g.: query.filter(Company.employees.of_type(Engineer). any(Engineer.name=='foo')), query.join(Company.employees.of_type(Engineer)). filter(Engineer.name=='foo')
Mike Bayer
- fixed potential generative bug when the same Query was used to generate multiple Query objects using join().
Mike Bayer
- can again create aliases of selects against textual FROM clauses, [ticket:975]
Mike Bayer
- modernized cascade.py tests - your cries have been heard: removing a pending item from an attribute or collection with delete-orphan expunges the item from the session; no FlushError is raised. Note that if you session.save()'ed the pending item explicitly, the attribute/collection removal still knocks it out.
Mike Bayer
get basic compilation working for [ticket:972]
Mike Bayer
- any(), has(), contains(), attribute level == and != now work properly with self-referential relations - the clause inside the EXISTS is aliased on the "remote" side to distinguish it from the parent table.
Mike Bayer
- remove some old cruft - deprecate ancient engine_descriptors() method
jason kirtland
Bump.
Mike Bayer
fixing recent schema.py changes to work with oracle 'owner' attribute
Tags
rel_0_4_3
jason kirtland
- comment typo
jason kirtland
- Made testlib's --unhashable and r3935's set changes play nice - A bonus overhead reduction for IdentitySet instances
  1. Prev
  2. Next