]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
17 years ago- fixed SQL function truncation of trailing underscores
Mike Bayer [Tue, 25 Mar 2008 17:25:20 +0000 (17:25 +0000)] 
- fixed SQL function truncation of trailing underscores
[ticket:996]

17 years ago- Added generic func.random (non-standard SQL)
Jason Kirtland [Tue, 25 Mar 2008 16:51:29 +0000 (16:51 +0000)] 
- Added generic func.random (non-standard SQL)

17 years agoa few more tweaks
Mike Bayer [Tue, 25 Mar 2008 00:02:45 +0000 (00:02 +0000)] 
a few more tweaks

17 years agoremoved AbstractClauseProcessor, merged its copy-and-visit behavior into ClauseVisitor
Mike Bayer [Mon, 24 Mar 2008 23:55:21 +0000 (23:55 +0000)] 
removed AbstractClauseProcessor, merged its copy-and-visit behavior into ClauseVisitor

17 years ago- already-compiled mappers will still trigger compiles of
Mike Bayer [Sun, 23 Mar 2008 16:36:47 +0000 (16:36 +0000)] 
- already-compiled mappers will still trigger compiles of
 other uncompiled mappers when used [ticket:995]

17 years agoadded nicer error message to dependent class not found
Mike Bayer [Sat, 22 Mar 2008 22:30:08 +0000 (22:30 +0000)] 
added nicer error message to dependent class not found

17 years ago - the "owner" keyword on Table is now deprecated, and is
Mike Bayer [Sat, 22 Mar 2008 19:30:42 +0000 (19:30 +0000)] 
 - the "owner" keyword on Table is now deprecated, and is
      exactly synonymous with the "schema" keyword.  Tables
      can now be reflected with alternate "owner" attributes,
      explicitly stated on the Table object or not using
      "schema".

    - all of the "magic" searching for synonyms, DBLINKs etc.
      during table reflection
      are disabled by default unless you specify
      "oracle_resolve_synonyms=True" on the Table object.
      Resolving synonyms necessarily leads to some messy
      guessing which we'd rather leave off by default.
      When the flag is set, tables and related tables
      will be resolved against synonyms in all cases, meaning
      if a synonym exists for a particular table, reflection
      will use it when reflecting related tables.  This is
      stickier behavior than before which is why it's
      off by default.

17 years ago- inheritance in declarative can be disabled when sending
Mike Bayer [Sat, 22 Mar 2008 18:05:46 +0000 (18:05 +0000)] 
- inheritance in declarative can be disabled when sending
"inherits=None" to __mapper_args__.

17 years agoreverted r4315 - a basic test works the way it was and fails with this change
Mike Bayer [Sat, 22 Mar 2008 15:06:28 +0000 (15:06 +0000)] 
reverted r4315 - a basic test works the way it was and fails with this change

17 years ago- made some fixes to the "from_joinpoint" argument to
Mike Bayer [Fri, 21 Mar 2008 17:21:41 +0000 (17:21 +0000)] 
- made some fixes to the "from_joinpoint" argument to
query.join() so that if the previous join was aliased
and this one isn't, the join still happens successfully.

17 years ago- adjusted the definition of "self-referential" to be
Mike Bayer [Fri, 21 Mar 2008 16:43:51 +0000 (16:43 +0000)] 
- adjusted the definition of "self-referential" to be
any two mappers with a common parent (this affects
whether or not aliased=True is required when joining
with Query).

17 years agoUndoing patch #994, for now; more testing needed. Sorry. Also modifying test for...
Catherine Devlin [Thu, 20 Mar 2008 16:48:46 +0000 (16:48 +0000)] 
Undoing patch #994, for now; more testing needed.  Sorry.  Also modifying test for query equivalence to account for underscoring of bind variables.

17 years agoadding zzzeek's patch from ticket #994, which fixed virtually all remaining broken...
Catherine Devlin [Thu, 20 Mar 2008 02:47:46 +0000 (02:47 +0000)] 
adding zzzeek's patch from ticket #994, which fixed virtually all remaining broken unit tests in the Oracle module

17 years agobugfix: preserving remote_owner during reflecttable setup of referential integrity
Catherine Devlin [Thu, 20 Mar 2008 00:44:01 +0000 (00:44 +0000)] 
bugfix: preserving remote_owner during reflecttable setup of referential integrity

17 years agoadded a runtime-incrementing counter for default primary keys to testlib/schema for...
Catherine Devlin [Wed, 19 Mar 2008 22:53:31 +0000 (22:53 +0000)] 
added a runtime-incrementing counter for default primary keys to testlib/schema for Oracle

17 years agoadded escape kw arg to contains(), startswith(), endswith(), [ticket:791]
Mike Bayer [Wed, 19 Mar 2008 20:25:51 +0000 (20:25 +0000)] 
added escape kw arg to contains(), startswith(), endswith(), [ticket:791]

17 years ago- like() and ilike() take an optional keyword argument
Mike Bayer [Wed, 19 Mar 2008 19:35:42 +0000 (19:35 +0000)] 
- like() and ilike() take an optional keyword argument
"escape=<somestring>", which is set as the escape character
using the syntax "x LIKE y ESCAPE '<somestring>'"
[ticket:993]

17 years ago- symbols now depickle properly
Jason Kirtland [Wed, 19 Mar 2008 18:02:47 +0000 (18:02 +0000)] 
- symbols now depickle properly
- fixed some symbol __new__ abuse

17 years agotypo
Gaëtan de Menten [Wed, 19 Mar 2008 12:48:09 +0000 (12:48 +0000)] 
typo

17 years agotest not supported on sqlite
Mike Bayer [Tue, 18 Mar 2008 23:50:30 +0000 (23:50 +0000)] 
test not supported on sqlite

17 years agosome fixup to one-to-many delete cascade
Mike Bayer [Tue, 18 Mar 2008 23:35:47 +0000 (23:35 +0000)] 
some fixup to one-to-many delete cascade

17 years ago- fixed/added coverage for various cascade scenarios
Mike Bayer [Tue, 18 Mar 2008 20:59:52 +0000 (20:59 +0000)] 
- fixed/added coverage for various cascade scenarios
- added coverage for some extra cases in dynamic relations
- removed some unused methods from unitofwork

17 years ago- added support for declarative deferred(Column(...))
Mike Bayer [Tue, 18 Mar 2008 17:42:07 +0000 (17:42 +0000)] 
- added support for declarative deferred(Column(...))
- changed "instrument" argument on synonym() to "descriptor", for consistency with comparable_proeprty()

17 years ago- Column._set_parent will complete the key==name contract for instances constructed...
Jason Kirtland [Tue, 18 Mar 2008 03:07:54 +0000 (03:07 +0000)] 
- Column._set_parent will complete the key==name contract for instances constructed anonymously

17 years ago- reST fixes
Jason Kirtland [Tue, 18 Mar 2008 03:05:34 +0000 (03:05 +0000)] 
- reST fixes

17 years agomapper double checks that columns in _compile_property are in the _cols_by_table...
Mike Bayer [Tue, 18 Mar 2008 02:38:11 +0000 (02:38 +0000)] 
mapper double checks that columns in _compile_property are in the _cols_by_table collection

17 years ago- Start coverage for Class.prop = Column(), promote nameless Columns
Jason Kirtland [Tue, 18 Mar 2008 02:16:15 +0000 (02:16 +0000)] 
- Start coverage for Class.prop = Column(), promote nameless Columns

17 years ago- Declarative will complete setup for Columns lacking names, allows
Jason Kirtland [Tue, 18 Mar 2008 00:25:55 +0000 (00:25 +0000)] 
- Declarative will complete setup for Columns lacking names, allows
  a more DRY syntax.

    class Foo(Base):
        __tablename__ = 'foos'
        id = Column(Integer, primary_key=True)

17 years ago- fixed order_by calculation in Query to properly alias
Mike Bayer [Tue, 18 Mar 2008 00:21:11 +0000 (00:21 +0000)] 
- fixed order_by calculation in Query to properly alias
mapper-config'ed order_by when using select_from()

17 years ago- 'name' is no longer a require constructor argument for Column(). It (and .key...
Jason Kirtland [Tue, 18 Mar 2008 00:15:34 +0000 (00:15 +0000)] 
- 'name' is no longer a require constructor argument for Column().  It (and .key) may now be deferred until the Column is added to a Table.

17 years ago- Declarative gains @synonym_for and @comparable_using decorators
Jason Kirtland [Mon, 17 Mar 2008 22:55:43 +0000 (22:55 +0000)] 
- Declarative gains @synonym_for and @comparable_using decorators

17 years ago- Added comparable_property(), adds query Comparator behavior to regular, unmanaged...
Jason Kirtland [Mon, 17 Mar 2008 22:06:49 +0000 (22:06 +0000)] 
- Added comparable_property(), adds query Comparator behavior to regular, unmanaged Python properties
- Some aspects of MapperProperty initialization are streteched pretty thin now
  and need a refactor; will proceed with these on the user_defined_state branch

17 years ago- trailing whitespace...
Jason Kirtland [Mon, 17 Mar 2008 21:59:02 +0000 (21:59 +0000)] 
- trailing whitespace...

17 years ago- DEFAULT VALUES again.
Jason Kirtland [Mon, 17 Mar 2008 21:58:31 +0000 (21:58 +0000)] 
- DEFAULT VALUES again.

17 years ago- fixed "cascade delete" operation of dynamic relations,
Mike Bayer [Sun, 16 Mar 2008 23:49:55 +0000 (23:49 +0000)] 
- fixed "cascade delete" operation of dynamic relations,
which had only been implemented for foreign-key nulling
behavior in 0.4.2 and not actual cascading deletes
[ticket:895]

17 years agofix datatypes #2
Mike Bayer [Sun, 16 Mar 2008 19:10:45 +0000 (19:10 +0000)] 
fix datatypes #2

17 years agofix insert() to have values (supports buildbot's SQLite)
Mike Bayer [Sun, 16 Mar 2008 19:07:22 +0000 (19:07 +0000)] 
fix insert() to have values (supports buildbot's SQLite)

17 years ago- Fixed descriminator col type for poly test
Jason Kirtland [Sun, 16 Mar 2008 18:51:43 +0000 (18:51 +0000)] 
- Fixed descriminator col type for poly test

17 years agoIssue a warning when a declarative detects a likely trailing comma: foo = Column...
Jason Kirtland [Sat, 15 Mar 2008 23:13:35 +0000 (23:13 +0000)] 
Issue a warning when a declarative detects a likely trailing comma: foo = Column(foo),

17 years ago- the "synonym" function is now directly usable with
Mike Bayer [Sat, 15 Mar 2008 20:18:54 +0000 (20:18 +0000)] 
- the "synonym" function is now directly usable with
"declarative".  Pass in the decorated property using
the "instrument" keyword argument, e.g.:
somekey = synonym('_somekey', instrument=property(g, s))
- declared_synonym deprecated

17 years agoSession.execute can now find binds from metadata
Ants Aasma [Wed, 12 Mar 2008 21:40:11 +0000 (21:40 +0000)] 
Session.execute can now find binds from metadata

17 years ago- fixed bug which was preventing synonym() attributes
Mike Bayer [Wed, 12 Mar 2008 21:32:32 +0000 (21:32 +0000)] 
- fixed bug which was preventing synonym() attributes
from being used with inheritance

17 years agotypo
Mike Bayer [Wed, 12 Mar 2008 21:04:19 +0000 (21:04 +0000)] 
typo

17 years ago- fixed missing import [ticket:989]
Jason Kirtland [Wed, 12 Mar 2008 14:17:15 +0000 (14:17 +0000)] 
- fixed missing import [ticket:989]

17 years agoadd relate(), entity() methods
Jonathan Ellis [Wed, 12 Mar 2008 12:11:12 +0000 (12:11 +0000)] 
add relate(), entity() methods

17 years ago- fixed/covered case when using a False value as a
Mike Bayer [Wed, 12 Mar 2008 03:02:28 +0000 (03:02 +0000)] 
- fixed/covered case when using a False value as a
polymorphic discriminator

17 years ago- when attributes are expired on a pending instance, an
Mike Bayer [Wed, 12 Mar 2008 01:52:36 +0000 (01:52 +0000)] 
- when attributes are expired on a pending instance, an
error will not be raised when the "refresh" action
is triggered and returns no result

17 years ago- Retroactive textmate damage control
Jason Kirtland [Wed, 12 Mar 2008 00:09:23 +0000 (00:09 +0000)] 
- Retroactive textmate damage control

17 years agoBump.
Jason Kirtland [Wed, 12 Mar 2008 00:07:37 +0000 (00:07 +0000)] 
Bump.

17 years agomore edits rel_0_4_4
Mike Bayer [Wed, 12 Mar 2008 00:02:41 +0000 (00:02 +0000)] 
more edits

17 years agofix a typo....
Mike Bayer [Tue, 11 Mar 2008 23:52:46 +0000 (23:52 +0000)] 
fix a typo....

17 years ago(Whoops,)
Jason Kirtland [Tue, 11 Mar 2008 23:27:30 +0000 (23:27 +0000)] 
(Whoops,)

17 years ago- Take broken mysql 4.1 column defaulting into account.
Jason Kirtland [Tue, 11 Mar 2008 23:22:44 +0000 (23:22 +0000)] 
- Take broken mysql 4.1 column defaulting into account.

17 years ago- Don't create implicit DDL column defaults
Jason Kirtland [Tue, 11 Mar 2008 23:16:10 +0000 (23:16 +0000)] 
- Don't create implicit DDL column defaults

17 years ago- increased assert_tabels_equal failure verbosity
Jason Kirtland [Tue, 11 Mar 2008 23:11:06 +0000 (23:11 +0000)] 
- increased assert_tabels_equal failure verbosity

17 years agofilled in some of the types documentation
Mike Bayer [Tue, 11 Mar 2008 20:03:14 +0000 (20:03 +0000)] 
filled in some of the types documentation

17 years agoupdated SQL output, fixed String/Text type
Mike Bayer [Tue, 11 Mar 2008 19:51:48 +0000 (19:51 +0000)] 
updated SQL output, fixed String/Text type

17 years agoreflection tests require foreign key reflection support
Mike Bayer [Tue, 11 Mar 2008 19:15:04 +0000 (19:15 +0000)] 
reflection tests require foreign key reflection support

17 years ago- fix expunging of orphans with more than one parent
Ants Aasma [Mon, 10 Mar 2008 20:49:27 +0000 (20:49 +0000)] 
- fix expunging of orphans with more than one parent
- move flush error for orphans from Mapper to UnitOfWork

17 years agoremove redundant test_rekey() test method
Mike Bayer [Mon, 10 Mar 2008 20:19:38 +0000 (20:19 +0000)] 
remove redundant test_rekey() test method

17 years ago- Test autoload with a FK override
Jason Kirtland [Mon, 10 Mar 2008 19:21:49 +0000 (19:21 +0000)] 
- Test autoload with a FK override

17 years ago- Added a primaryjoin= test
Jason Kirtland [Mon, 10 Mar 2008 18:40:36 +0000 (18:40 +0000)] 
- Added a primaryjoin= test

17 years agoeh, that __autoload_with__ idea was half baked.
Jason Kirtland [Mon, 10 Mar 2008 18:39:12 +0000 (18:39 +0000)] 
eh, that __autoload_with__ idea was half baked.

17 years ago- Added __autoload__ = True for declarative
Jason Kirtland [Mon, 10 Mar 2008 18:32:07 +0000 (18:32 +0000)] 
- Added __autoload__ = True for declarative
- declarative Base.__init__ is pickier about its kwargs

17 years agoremoved the "__main__" code from below
Mike Bayer [Mon, 10 Mar 2008 17:15:51 +0000 (17:15 +0000)] 
removed the "__main__" code from below

17 years ago- a new super-small "declarative" extension has been added,
Mike Bayer [Mon, 10 Mar 2008 17:14:08 +0000 (17:14 +0000)] 
- a new super-small "declarative" extension has been added,
which allows Table and mapper() configuration to take place
inline underneath a class declaration.  This extension differs
from ActiveMapper and Elixir in that it does not redefine
any SQLAlchemy semantics at all; literal Column, Table
and relation() constructs are used to define the class
behavior and table definition.

17 years ago- relation() can accept a callable for its first argument,
Mike Bayer [Mon, 10 Mar 2008 00:59:51 +0000 (00:59 +0000)] 
- relation() can accept a callable for its first argument,
which returns the class to be related.  This is in place
to assist declarative packages to define relations without
classes yet being in place.

17 years ago- dynamic_loader() / lazy="dynamic" now accepts and uses
Mike Bayer [Sun, 9 Mar 2008 22:51:55 +0000 (22:51 +0000)] 
- dynamic_loader() / lazy="dynamic" now accepts and uses
the order_by parameter in the same way in which it works
with relation().

17 years agoadded sanity test for order_by
Mike Bayer [Sun, 9 Mar 2008 18:00:04 +0000 (18:00 +0000)] 
added sanity test for order_by

17 years agoAdded support for vendor-extended INSERT syntax like INSERT DELAYED INTO
Jason Kirtland [Fri, 7 Mar 2008 16:56:37 +0000 (16:56 +0000)] 
Added support for vendor-extended INSERT syntax like INSERT DELAYED INTO

17 years agoweed whacking is not Nones
Mike Bayer [Fri, 7 Mar 2008 03:26:48 +0000 (03:26 +0000)] 
weed whacking is not Nones

17 years ago- moved property._is_self_referential() to be more generalized; returns True for...
Mike Bayer [Fri, 7 Mar 2008 03:16:46 +0000 (03:16 +0000)] 
- moved property._is_self_referential() to be more generalized; returns True for any mapper.isa() relationship between parent and child, and indicates that aliasing should be used for any join/correlation across the relation.  allows joins/any()/has() to work with inherited mappers referencing the parent etc.
- the original _is_self_referential() is now _refers_to_parent_table() and is only used during "direction" calculation to indicate the relation is from a single table to itself

17 years agocorrected assert_raises to be consistent with existing assertRaises() unittest method
Mike Bayer [Thu, 6 Mar 2008 18:59:23 +0000 (18:59 +0000)] 
corrected assert_raises to be consistent with existing assertRaises() unittest method

17 years ago- added assert_raises() to TestBase class
Mike Bayer [Thu, 6 Mar 2008 18:44:45 +0000 (18:44 +0000)] 
- added assert_raises() to TestBase class
- session.refresh() and session.expire() raise an error when
called on instances which are not persistent within the session
- session._validate_persistent() properly raises an error for false check

17 years agocheck the isinsert/isupdate flags before calling __process_defaults
Mike Bayer [Thu, 6 Mar 2008 16:54:55 +0000 (16:54 +0000)] 
check the isinsert/isupdate flags before calling __process_defaults

17 years ago- adjusted generative.py test for revised error message
Mike Bayer [Thu, 6 Mar 2008 16:53:40 +0000 (16:53 +0000)] 
- adjusted generative.py test for revised error message
- mapper with non_primary asserts primary mapper already created
- added any()/instance compare test to query

17 years agoImport fixup & trailing whitespace
Jason Kirtland [Thu, 6 Mar 2008 14:16:19 +0000 (14:16 +0000)] 
Import fixup & trailing whitespace

17 years ago- Synonyms riding on top of existing descriptors are now full proxies
Jason Kirtland [Thu, 6 Mar 2008 14:12:22 +0000 (14:12 +0000)] 
- Synonyms riding on top of existing descriptors are now full proxies
  to those descriptors.

17 years ago- constraint constructor docstring fiesta
Jason Kirtland [Wed, 5 Mar 2008 00:46:58 +0000 (00:46 +0000)] 
- constraint constructor docstring fiesta

17 years ago- More docs for r4223
Jason Kirtland [Tue, 4 Mar 2008 23:30:37 +0000 (23:30 +0000)] 
- More docs for r4223

17 years ago- Tweaked error messaging for unbound DDL().execute()
Jason Kirtland [Tue, 4 Mar 2008 22:50:14 +0000 (22:50 +0000)] 
- Tweaked error messaging for unbound DDL().execute()

17 years ago- Gave DDL() statements the same .bind treatment as the DML ones in r4220
Jason Kirtland [Tue, 4 Mar 2008 22:47:35 +0000 (22:47 +0000)] 
- Gave DDL() statements the same .bind treatment as the DML ones in r4220

17 years ago- whitespace/docstring/linewrap freakout
Jason Kirtland [Tue, 4 Mar 2008 22:29:59 +0000 (22:29 +0000)] 
- whitespace/docstring/linewrap freakout

17 years ago- Updated exception messaging for r4220
Jason Kirtland [Tue, 4 Mar 2008 21:35:15 +0000 (21:35 +0000)] 
- Updated exception messaging for r4220

17 years ago- added "bind" keyword argument to insert(), update(), delete();
Mike Bayer [Tue, 4 Mar 2008 20:57:32 +0000 (20:57 +0000)] 
- added "bind" keyword argument to insert(), update(), delete();
.bind property is settable on those as well as select().

17 years agounit test for mutable PGArray, thanks to AlexB !!!
Mike Bayer [Tue, 4 Mar 2008 20:14:28 +0000 (20:14 +0000)] 
unit test for mutable PGArray, thanks to AlexB !!!

17 years agocheck for None
Mike Bayer [Tue, 4 Mar 2008 19:41:40 +0000 (19:41 +0000)] 
check for None

17 years ago- postgres PGArray is a "mutable" type by default;
Mike Bayer [Tue, 4 Mar 2008 19:31:33 +0000 (19:31 +0000)] 
- postgres PGArray is a "mutable" type by default;
when used with the ORM, mutable-style equality/
copy-on-write techniques are used to test for changes.

17 years agofixed negated self-referential m2m contains(), [ticket:987]
Mike Bayer [Tue, 4 Mar 2008 19:26:29 +0000 (19:26 +0000)] 
fixed negated self-referential m2m contains(), [ticket:987]

17 years ago- fixed bug which was preventing UNIONS from being cloneable,
Mike Bayer [Tue, 4 Mar 2008 18:20:09 +0000 (18:20 +0000)] 
- fixed bug which was preventing UNIONS from being cloneable,
[ticket:986]

17 years agofix markdown bug
Mike Bayer [Tue, 4 Mar 2008 00:40:40 +0000 (00:40 +0000)] 
fix markdown bug

17 years ago- repaired behavior of == and != operators at the relation()
Mike Bayer [Mon, 3 Mar 2008 17:06:27 +0000 (17:06 +0000)] 
- repaired behavior of == and != operators at the relation()
level when compared against NULL for one-to-one and other
relations [ticket:985]

17 years ago(very) minor speed optimization to ResultProxy fetchall & fetchmany methods
Gaëtan de Menten [Mon, 3 Mar 2008 15:10:38 +0000 (15:10 +0000)] 
(very) minor speed optimization to ResultProxy fetchall & fetchmany methods

17 years agoadded dispose() for StaticPool
Mike Bayer [Sun, 2 Mar 2008 17:44:17 +0000 (17:44 +0000)] 
added dispose() for StaticPool

17 years agofix maddening ReST bug
Mike Bayer [Sun, 2 Mar 2008 06:09:45 +0000 (06:09 +0000)] 
fix maddening ReST bug

17 years agodocument with_polymorphic()
Mike Bayer [Sun, 2 Mar 2008 05:55:05 +0000 (05:55 +0000)] 
document with_polymorphic()

17 years ago- Raise a friendly error when assigning an unmapped something (like a string) to...
Jason Kirtland [Sun, 2 Mar 2008 04:24:47 +0000 (04:24 +0000)] 
- Raise a friendly error when assigning an unmapped something (like a string) to a scalar-object attribute

17 years ago- state.commit() and state.commit_all() now reconcile the current dict against expire...
Mike Bayer [Sat, 1 Mar 2008 22:30:02 +0000 (22:30 +0000)] 
- state.commit() and state.commit_all() now reconcile the current dict against expired_attributes
and unset the expired flag for those attributes.  This is partially so that attributes are not
needlessly marked as expired after a two-phase inheritance load.
- fixed bug which was introduced in 0.4.3, whereby loading an
already-persistent instance mapped with joined table inheritance
would trigger a useless "secondary" load from its joined
table, when using the default "select" polymorphic_fetch.
This was due to attributes being marked as expired
during its first load and not getting unmarked from the
previous "secondary" load.  Attributes are now unexpired
based on presence in __dict__ after any load or commit
operation succeeds.

17 years agoadd note about global metadata removed [ticket:983]
Mike Bayer [Sat, 1 Mar 2008 16:23:49 +0000 (16:23 +0000)] 
add note about global metadata removed [ticket:983]

17 years ago- fixed bug whereby session.expire() attributes were not
Mike Bayer [Sat, 1 Mar 2008 01:46:23 +0000 (01:46 +0000)] 
- fixed bug whereby session.expire() attributes were not
loading on an polymorphically-mapped instance mapped
by a select_table mapper.

- added query.with_polymorphic() - specifies a list
of classes which descend from the base class, which will
be added to the FROM clause of the query.  Allows subclasses
to be used within filter() criterion as well as eagerly loads
the attributes of those subclasses.

- deprecated Query methods apply_sum(), apply_max(), apply_min(),
apply_avg().  Better methodologies are coming....