Mike Bayer [Tue, 4 Jun 2013 22:23:06 +0000 (18:23 -0400)]
- improve overlapping selectables, apply to both query and relationship
- clean up inspect() calls within query._join()
- make sure join.alias(flat) propagates
- fix almost all assertion tests
Mike Bayer [Tue, 4 Jun 2013 20:21:25 +0000 (16:21 -0400)]
here's the flat join thing. it just works. Changing the existing compiled SQL assertions
might even be most of the tests we need (though dedicated sql tests would be needed anyway)
Mike Bayer [Sun, 2 Jun 2013 16:06:39 +0000 (12:06 -0400)]
- blow away context._attributes
- to account for query._attributes/context.attributes, just pass
the attributes dict directly to the PathRegistry methods
Mike Bayer [Fri, 31 May 2013 15:52:31 +0000 (11:52 -0400)]
Fixed a regression caused by [ticket:2682] whereby the
evaluation invoked by :meth:`.Query.update` and :meth:`.Query.delete`
would hit upon unsupported ``True`` and ``False`` symbols
which now appear due to the usage of ``IS``.
[ticket:2737]
Mike Bayer [Fri, 31 May 2013 00:09:44 +0000 (20:09 -0400)]
The "auto-aliasing" behavior of the :class:`.Query.select_from`
method has been turned off. The specific behavior is now
availble via a new method :class:`.Query.select_entity_from`.
[ticket:2736]
Mike Bayer [Thu, 30 May 2013 19:56:00 +0000 (15:56 -0400)]
- the distinct hash code logic here is entirely obsolete as you can
do eq_() on columnelements now with a meaningful bool; jython is entirely a
non-starter right now in any case as 2.7 doesn't support common accessors like __defaults__
Mike Bayer [Wed, 29 May 2013 22:08:28 +0000 (18:08 -0400)]
hstores are text, and in py3k they seem to be implcitly unicode. so
add unicode encoding for py2k for the non-native hstore, pullreq for
native psycopg2 support coming....
Mike Bayer [Wed, 29 May 2013 22:08:28 +0000 (18:08 -0400)]
hstores are text, and in py3k they seem to be implcitly unicode. so
add unicode encoding for py2k for the non-native hstore, pullreq for
native psycopg2 support coming....
Mike Bayer [Tue, 28 May 2013 05:22:10 +0000 (01:22 -0400)]
Fixed a small bug in the dogpile example where the generation
of SQL cache keys wasn't applying deduping labels to the
statement the same way :class:`.Query` normally does.
Mike Bayer [Mon, 27 May 2013 21:06:05 +0000 (17:06 -0400)]
- additional oracle fixes. cx_oracle under py3k is complaining about tuples to executemany(),
so just unconditionally turn this into a list
- this one test segfaults only on py3k + cx_oracle
Mike Bayer [Sun, 26 May 2013 17:08:24 +0000 (13:08 -0400)]
fix serializer tests. something is wrong with non-C pickle but for some reason py3k's pickle seems to be OK? not sure why that is, as this
is all related to http://bugs.python.org/issue998998
Mike Bayer [Thu, 23 May 2013 16:59:53 +0000 (12:59 -0400)]
Fixed a bug where the routine to detect the correct kwargs
being sent to :func:`.create_engine` would fail in some cases,
such as with the Sybase dialect.
[ticket:2732]
Mike Bayer [Mon, 13 May 2013 20:13:15 +0000 (16:13 -0400)]
Fixed a regression from 0.7 caused by this ticket, which
made the check for recursion overflow in self-referential
eager joining too loose, missing a particular circumstance
where a subclass had lazy="joined" or "subquery" configured
and the load was a "with_polymorphic" against the base.
[ticket:2481]