]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
18 years ago- correlated subqueries work inside of ORDER BY, GROUP BY
Mike Bayer [Sat, 24 Feb 2007 00:17:08 +0000 (00:17 +0000)] 
- correlated subqueries work inside of ORDER BY, GROUP BY

18 years ago- exists() becomes useable as a standalone selectable, not just in a
Mike Bayer [Fri, 23 Feb 2007 20:46:27 +0000 (20:46 +0000)] 
- exists() becomes useable as a standalone selectable, not just in a
WHERE clause

18 years ago- a full select() construct can be passed to query.select() (which
Mike Bayer [Thu, 22 Feb 2007 22:59:51 +0000 (22:59 +0000)] 
- a full select() construct can be passed to query.select() (which
worked anyway), but also query.selectfirst(), query.selectone() which
will be used as is (i.e. no query is compiled). works similarly to
sending the results to instances().

18 years agorestored sequence back, needed by PG for the unit test rel_0_3_5
Mike Bayer [Thu, 22 Feb 2007 03:51:21 +0000 (03:51 +0000)] 
restored sequence back, needed by PG for the unit test

18 years ago- added selectfirst(), selectfirst_by() to assign_mapper [ticket:467]
Mike Bayer [Thu, 22 Feb 2007 03:16:58 +0000 (03:16 +0000)] 
- added selectfirst(), selectfirst_by() to assign_mapper [ticket:467]

18 years agoadded collengths to use varchar instead of TEXT
Mike Bayer [Thu, 22 Feb 2007 03:13:43 +0000 (03:13 +0000)] 
added collengths to use varchar instead of TEXT

18 years ago- removed deprecated method of specifying custom collections on classes;
Mike Bayer [Wed, 21 Feb 2007 21:55:45 +0000 (21:55 +0000)] 
- removed deprecated method of specifying custom collections on classes;
you must now use the "collection_class" option. the old way was
beginning to produce conflicts when people used assign_mapper(), which
now patches an "options" method, in conjunction with a relationship
named "options". (relationships take precedence over monkeypatched
assign_mapper methods).

18 years agoformatting fix
Mike Bayer [Wed, 21 Feb 2007 21:35:51 +0000 (21:35 +0000)] 
formatting fix

18 years agoformatting/cleanup
Mike Bayer [Wed, 21 Feb 2007 21:34:40 +0000 (21:34 +0000)] 
formatting/cleanup

18 years ago - eager relation loading bug fixed for eager relation on multiple
Mike Bayer [Wed, 21 Feb 2007 20:57:31 +0000 (20:57 +0000)] 
  - eager relation loading bug fixed for eager relation on multiple
  descendant classes [ticket:486]

18 years agoTested with pymssql 0.8.0
Rick Morrison [Wed, 21 Feb 2007 01:38:58 +0000 (01:38 +0000)] 
Tested with pymssql 0.8.0
mssql: added query_timeout, fixes for passing auto_insert in dburl

18 years agofix to the fix for [ticket:454], prevent other mappers in a load operation from using...
Mike Bayer [Tue, 20 Feb 2007 18:01:16 +0000 (18:01 +0000)] 
fix to the fix for [ticket:454], prevent other mappers in a load operation from using the main extension option send to the query (i.e. mappers used for eager loads etc).

18 years ago- added "contains_alias()" option for result set mapping to an alias of the mapped...
Mike Bayer [Tue, 20 Feb 2007 02:12:46 +0000 (02:12 +0000)] 
- added "contains_alias()" option for result set mapping to an alias of the mapped table

18 years ago - added "alias" argument to contains_eager(). use it to specify the string name
Mike Bayer [Tue, 20 Feb 2007 01:04:07 +0000 (01:04 +0000)] 
  - added "alias" argument to contains_eager().  use it to specify the string name
    or Alias instance of an alias used in the query for the eagerly loaded child items.
    easier to use than "decorator"

18 years ago- moved SynonymProperty to interfaces, since its more generalized and synonym-aware...
Mike Bayer [Tue, 20 Feb 2007 00:09:37 +0000 (00:09 +0000)] 
- moved SynonymProperty to interfaces, since its more generalized and synonym-aware operations
take place without knowning so much about properties
- mapper options like eagerload(), lazyload(), deferred(), will work for "synonym()" relationships [ticket:485]

18 years ago(no commit message)
Rick Morrison [Mon, 19 Feb 2007 19:03:33 +0000 (19:03 +0000)] 

18 years agoremoved not-always-applicable check for "polymorphic_identity"
Mike Bayer [Mon, 19 Feb 2007 07:06:38 +0000 (07:06 +0000)] 
removed not-always-applicable check for "polymorphic_identity"

18 years ago- documented foreign_keys argument
Mike Bayer [Mon, 19 Feb 2007 04:46:08 +0000 (04:46 +0000)] 
- documented foreign_keys argument
- 0.3.5 markers

18 years agoreverted unit test change
Mike Bayer [Mon, 19 Feb 2007 04:36:18 +0000 (04:36 +0000)] 
reverted unit test change

18 years ago- oracle issues a log warning when a related table cant be reflected due to certain
Mike Bayer [Mon, 19 Feb 2007 04:28:51 +0000 (04:28 +0000)] 
- oracle issues a log warning when a related table cant be reflected due to certain
permission errors [ticket:363]

18 years agoCompleted previously missed patches from tickets 422 and 415
Rick Morrison [Sun, 18 Feb 2007 19:43:05 +0000 (19:43 +0000)] 
Completed previously missed patches from tickets 422 and 415
get unit tests to work with pyodbc [ticket:481]
fix blank password on adodbapi [ticket:371]

18 years ago- modified patch for [ticket:379] - detecting synonyms, dblinks in reflection. test...
Mike Bayer [Sat, 17 Feb 2007 23:40:31 +0000 (23:40 +0000)] 
- modified patch for [ticket:379] - detecting synonyms, dblinks in reflection.  test passes
except for DBLINK which I cannot get to work on my oracle-xe database.
- probable (also untested) fix for [ticket:363], better error message if we get None back for
remote table information (which is due to rights)

18 years ago- fixes to tometadata() operation to propigate Constraints at column and table level
Mike Bayer [Sat, 17 Feb 2007 19:08:36 +0000 (19:08 +0000)] 
- fixes to tometadata() operation to propigate Constraints at column and table level

18 years ago- fixed generation of CHECK constraints on columns [ticket:464]
Mike Bayer [Sat, 17 Feb 2007 03:46:13 +0000 (03:46 +0000)] 
- fixed generation of CHECK constraints on columns [ticket:464]

18 years ago- extension() query option propigates to Mapper._instance() method so that
Mike Bayer [Sat, 17 Feb 2007 03:14:36 +0000 (03:14 +0000)] 
- extension() query option propigates to Mapper._instance() method so that
all loading-related methods get called [ticket:454]

18 years ago- moved change for [ticket:466] to ansisql, since thats the syntax for all databases.
Mike Bayer [Sat, 17 Feb 2007 02:39:28 +0000 (02:39 +0000)] 
- moved change for [ticket:466] to ansisql, since thats the syntax for all databases.
the change is across all dialects, not just oracle

18 years agoadded PGInet type [ticket:444]
Mike Bayer [Sat, 17 Feb 2007 02:36:11 +0000 (02:36 +0000)] 
added PGInet type [ticket:444]

18 years ago- added a Sequence to the unicode test tables to help Oracle
Mike Bayer [Sat, 17 Feb 2007 02:31:56 +0000 (02:31 +0000)] 
- added a Sequence to the unicode test tables to help Oracle
- fixed named PrimaryKeyConstraint generation on oracle [ticket:466] courtesy andrija at gmail

18 years ago[ticket:463] fix to OrderedSet
Mike Bayer [Sat, 17 Feb 2007 02:23:10 +0000 (02:23 +0000)] 
[ticket:463] fix to OrderedSet

18 years agocommented out ImportError for now; will issue new ticket for handling dialect importe...
Mike Bayer [Sat, 17 Feb 2007 01:49:52 +0000 (01:49 +0000)] 
commented out ImportError for now; will issue new ticket for handling dialect importerrors more effectively

18 years ago- fixed oracle list of binary types to check for their presence in the module (such...
Mike Bayer [Sat, 17 Feb 2007 01:18:54 +0000 (01:18 +0000)] 
- fixed oracle list of binary types to check for their presence in the module (such as BFILE not in all versions of cx_Oracle)
- removed oracle-handicap from binary unit test to test [ticket:435] fix, added an extra row containing None

18 years ago- small fix to BoundMetaData to accept unicode or string URLs
Mike Bayer [Sat, 17 Feb 2007 00:09:48 +0000 (00:09 +0000)] 
- small fix to BoundMetaData to accept unicode or string URLs

18 years agobetter MSSSQL support for implicit sequences and auto-insert, ticket 415
Rick Morrison [Fri, 16 Feb 2007 17:26:47 +0000 (17:26 +0000)] 
better MSSSQL support for implicit sequences and auto-insert, ticket 415

18 years agoFix Fix for adodbapi bug introduced by ticket 419
Rick Morrison [Fri, 16 Feb 2007 17:12:49 +0000 (17:12 +0000)] 
Fix Fix for adodbapi bug introduced by ticket 419

18 years agoFunc rewrite for better unittest compatibility
Rick Morrison [Fri, 16 Feb 2007 17:06:17 +0000 (17:06 +0000)] 
Func rewrite for better unittest compatibility
Simplified transaction handling for pymssql

18 years agodont do RAWTOHEX on None
Mike Bayer [Thu, 15 Feb 2007 17:19:13 +0000 (17:19 +0000)] 
dont do RAWTOHEX on None

18 years ago- some cleanup to the unitofwork test suite (needs much more)
Mike Bayer [Thu, 15 Feb 2007 02:07:06 +0000 (02:07 +0000)] 
- some cleanup to the unitofwork test suite (needs much more)
- fixed relationship deletion error when one-to-many child item is moved to a new
  parent in a single unit of work [ticket:478]

18 years agorevert old unittest patch for MSSQL
Rick Morrison [Thu, 15 Feb 2007 00:22:07 +0000 (00:22 +0000)] 
revert old unittest patch for MSSQL

18 years agoMSSSQL is now passing unit tests (well, some) thanks to Paul Johnston
Rick Morrison [Thu, 15 Feb 2007 00:13:01 +0000 (00:13 +0000)] 
MSSSQL is now passing unit tests (well, some) thanks to Paul Johnston

18 years agorun-time selectable DB-API modules for mssql [ticket:419]
Rick Morrison [Wed, 14 Feb 2007 23:58:51 +0000 (23:58 +0000)] 
run-time selectable DB-API modules for mssql [ticket:419]
preliminary support for pyodbc

18 years agoFix for ticket 473
Rick Morrison [Wed, 14 Feb 2007 23:36:56 +0000 (23:36 +0000)] 
Fix for ticket 473

18 years agoFix query.get for MSSQL tables with schema specified
Rick Morrison [Wed, 14 Feb 2007 23:16:22 +0000 (23:16 +0000)] 
Fix query.get for MSSQL tables with schema specified

18 years ago- fixed relationship deletion error where parent/child with a single column as PK/FK
Mike Bayer [Wed, 14 Feb 2007 02:00:49 +0000 (02:00 +0000)] 
- fixed relationship deletion error where parent/child with a single column as PK/FK
on the child would raise a "blank out the primary key" error, if manually deleted
or "delete" cascade without "delete-orphan" was used

18 years ago- fixed argument passing to straight textual execute() on engine, connection.
Mike Bayer [Tue, 13 Feb 2007 22:53:05 +0000 (22:53 +0000)] 
- fixed argument passing to straight textual execute() on engine, connection.
can handle *args or a list instance for positional, **kwargs or a dict instance
for named args, or a list of list or dicts to invoke executemany()

18 years ago- fix for very large topological sorts, courtesy ants.aasma at gmail [ticket:423]
Mike Bayer [Tue, 13 Feb 2007 01:25:51 +0000 (01:25 +0000)] 
- fix for very large topological sorts, courtesy ants.aasma at gmail [ticket:423]

18 years ago- added support for py2.5 "with" statement with SessionTransaction [ticket:468]
Mike Bayer [Sat, 10 Feb 2007 23:45:08 +0000 (23:45 +0000)] 
- added support for py2.5 "with" statement with SessionTransaction [ticket:468]

18 years ago- added options() method to SelectResults, equivalent to query.options() [ticket...
Mike Bayer [Sat, 10 Feb 2007 23:41:56 +0000 (23:41 +0000)] 
- added options() method to SelectResults, equivalent to query.options() [ticket:472]

18 years ago- implemented foreign_keys argument on relation() [ticket:385]
Mike Bayer [Sat, 10 Feb 2007 23:39:06 +0000 (23:39 +0000)] 
- implemented foreign_keys argument on relation() [ticket:385]
- PropertyLoader figures out accurate remote_side collection based
on foreign_keys, legacy foreignkey, primary/secondaryjoin/polymorphic
- reworked lazyloader, sync to work straight off foreign_keys/
remote_side collections

18 years agoremoved MissingTypeError (think it was an accidental checkin)
Mike Bayer [Wed, 7 Feb 2007 01:15:03 +0000 (01:15 +0000)] 
removed MissingTypeError (think it was an accidental checkin)

18 years ago- added optional __table_opts__ dictionary to ActiveMapper, will send kw options to
Mike Bayer [Wed, 7 Feb 2007 01:12:38 +0000 (01:12 +0000)] 
- added optional __table_opts__ dictionary to ActiveMapper, will send kw options to
Table objects [ticket:462]

18 years agoticket 298 plus transaction fixes for pymssql
Rick Morrison [Tue, 6 Feb 2007 20:04:09 +0000 (20:04 +0000)] 
ticket 298 plus transaction fixes for pymssql

18 years ago- added PGInterval type [ticket:460]
Mike Bayer [Tue, 6 Feb 2007 19:32:36 +0000 (19:32 +0000)] 
- added PGInterval type [ticket:460]

18 years ago- fixed "remote_side" in testrelationonbaseclass [ticket:461]
Mike Bayer [Tue, 6 Feb 2007 19:22:44 +0000 (19:22 +0000)] 
- fixed "remote_side" in testrelationonbaseclass [ticket:461]
- added --reversetop arg to testbase to allow reversing the input collection
for topological sorts, to better reveal dependency issues

18 years ago- added PrefetchingResultProxy support to pre-fetch LOB columns when they are
Mike Bayer [Tue, 6 Feb 2007 01:31:50 +0000 (01:31 +0000)] 
- added PrefetchingResultProxy support to pre-fetch LOB columns when they are
known to be present, fixes [ticket:435]

18 years ago- added distinct() method to SelectResults. generally should only make a difference
Mike Bayer [Mon, 5 Feb 2007 23:26:37 +0000 (23:26 +0000)] 
- added distinct() method to SelectResults.  generally should only make a difference
  when using count().

18 years agonested query will always use order_by even if distinct is present, added test case...
Mike Bayer [Mon, 5 Feb 2007 23:16:43 +0000 (23:16 +0000)] 
nested query will always use order_by even if distinct is present, added test case to back it up

18 years agomake sure auto-reflection of remote tables working too...
Mike Bayer [Sun, 4 Feb 2007 23:52:21 +0000 (23:52 +0000)] 
make sure auto-reflection of remote tables working too...

18 years ago- added "schema" argument to all has_table() calls, only supported so far by PG
Mike Bayer [Sun, 4 Feb 2007 23:45:45 +0000 (23:45 +0000)] 
- added "schema" argument to all has_table() calls, only supported so far by PG
- added basic unit test for PG reflection of tables in an alternate schema

18 years agoalternate OrderedSet implementation courtesy sdobrev
Mike Bayer [Sun, 4 Feb 2007 23:15:26 +0000 (23:15 +0000)] 
alternate OrderedSet implementation courtesy sdobrev

18 years agoadded 'ascii' as default encoding in case getdefaultlocale()[1] comes up with None...
Mike Bayer [Sun, 4 Feb 2007 20:11:28 +0000 (20:11 +0000)] 
added 'ascii' as default encoding in case getdefaultlocale()[1] comes up with None (see [ticket:457])

18 years agoadded mockdbapi to mysql dialect create to better help unit tests pass
Mike Bayer [Sun, 4 Feb 2007 19:10:07 +0000 (19:10 +0000)] 
added mockdbapi to mysql dialect create to better help unit tests pass

18 years agopolymorphic union uses the literal_column function for its "textual" column
Mike Bayer [Sun, 4 Feb 2007 03:50:54 +0000 (03:50 +0000)] 
polymorphic union uses the literal_column function for its "textual" column

18 years ago- added literal_column() to specify a column clause that should not undergo any quoting
Mike Bayer [Sun, 4 Feb 2007 03:43:22 +0000 (03:43 +0000)] 
- added literal_column() to specify a column clause that should not undergo any quoting
- straight text sent to select() added as literal_column
- fix for issue in [ticket:450]

18 years agoOK nevermind that last commit, rolling the quoting fix back
Mike Bayer [Sun, 4 Feb 2007 03:19:54 +0000 (03:19 +0000)] 
OK nevermind that last commit, rolling the quoting fix back

18 years ago- more quoting fixes for [ticket:450]...quoting more aggressive (but still skips...
Mike Bayer [Sun, 4 Feb 2007 03:12:27 +0000 (03:12 +0000)] 
- more quoting fixes for [ticket:450]...quoting more aggressive (but still skips already-quoted literals)
- got mysql to have "format" as default paramstyle even if mysql module not available, allows unit tests
to pass in non-mysql system for [ticket:457].  all the dialects should be changed to pass in their usual
paramstyle.

18 years ago- sequences on a non-pk column will properly fire off on INSERT for PG/oracle
Mike Bayer [Fri, 2 Feb 2007 18:58:11 +0000 (18:58 +0000)] 
- sequences on a non-pk column will properly fire off on INSERT for PG/oracle

18 years agounit test for "cant execute"
Mike Bayer [Fri, 2 Feb 2007 18:26:42 +0000 (18:26 +0000)] 
unit test for "cant execute"

18 years ago- added a "supports_execution()" method to ClauseElement, so that individual
Mike Bayer [Fri, 2 Feb 2007 18:18:31 +0000 (18:18 +0000)] 
- added a "supports_execution()" method to ClauseElement, so that individual
kinds of clauses can express if they are appropriate for executing...such as,
you can execute a "select", but not a "Table" or a "Join".

18 years agoremoved extra _find_cycles call
Mike Bayer [Fri, 2 Feb 2007 17:06:41 +0000 (17:06 +0000)] 
removed extra _find_cycles call

18 years agoadded unit test for previous checked in lazy fix
Mike Bayer [Thu, 1 Feb 2007 21:44:04 +0000 (21:44 +0000)] 
added unit test for previous checked in lazy fix

18 years ago- clear_mappers() just blows away all of ArgSingleton for now
Mike Bayer [Thu, 1 Feb 2007 21:38:16 +0000 (21:38 +0000)] 
- clear_mappers() just blows away all of ArgSingleton for now
- lazy clause goes against parent.mapped_table instead of parent.local_table,
helps it to recognize self-referential condition between a descendant joined-table-inheritance mapper

18 years ago- the "polymorphic_primaryjoin" again goes against the parent's non-polymorphic local...
Mike Bayer [Thu, 1 Feb 2007 03:18:08 +0000 (03:18 +0000)] 
- the "polymorphic_primaryjoin" again goes against the parent's non-polymorphic local table.
lazy load clause evaluation is plenty solid enough to handle it this time.
- the join_to() method on PropertyLoader takes the parent mapper as an argument and alisiazes
the primaryjoin against that mapper's selectable, so that the same primary join can be used against
the base mapper, any inheriting mapper, etc., whether or not it uses a polymorphic union (although
needs to be tested against alternate polymorphic unions added on subclasses).  fixes [ticket:448]

18 years ago- improved support for complex queries embedded into "where" criterion
Mike Bayer [Thu, 1 Feb 2007 01:47:54 +0000 (01:47 +0000)] 
- improved support for complex queries embedded into "where" criterion
 for query.select() [ticket:449]
- contains_eager('foo') automatically implies eagerload('foo')
- query.options() can take a combiantion MapperOptions and tuples of MapperOptions,
so that functions can return groups
- refactoring to Aliasizer and ClauseAdapter so that they share a common base methodology,
which addresses all sql.ColumnElements instead of just schema.Column.  common list-processing
methods added.
- query.compile and eagerloader._aliasize_orderby make usage of improved list processing on
above.
- query.compile, within the "nested select generate" step processes the order_by clause using
the ClauseAdapter instead of Aliasizer since there is only one "target"

18 years agoadded types to genned docs
Mike Bayer [Wed, 31 Jan 2007 00:48:38 +0000 (00:48 +0000)] 
added types to genned docs

18 years agoclarification to detached state
Mike Bayer [Wed, 31 Jan 2007 00:41:16 +0000 (00:41 +0000)] 
clarification to detached state

18 years ago- fix to deferred so that load operation doesnt mistakenly occur when only
Mike Bayer [Tue, 30 Jan 2007 22:04:53 +0000 (22:04 +0000)] 
- fix to deferred so that load operation doesnt mistakenly occur when only
PK col attributes are set

18 years agofurther work on insuring clear_mappers() really works. assignmapper identified
Mike Bayer [Tue, 30 Jan 2007 01:01:22 +0000 (01:01 +0000)] 
further work on insuring clear_mappers() really works.  assignmapper identified
as a much trickier thing to clean out.  added a unit test so that if any new collections get introduced
we are still testing.

18 years ago- fixed bug where cascade operations incorrectly included deleted collection
Mike Bayer [Tue, 30 Jan 2007 00:16:42 +0000 (00:16 +0000)] 
- fixed bug where cascade operations incorrectly included deleted collection
items in the cascade [ticket:445]

18 years agodoc
Mike Bayer [Tue, 30 Jan 2007 00:00:34 +0000 (00:00 +0000)] 
doc

18 years agoupdated docs for delete()
Mike Bayer [Mon, 29 Jan 2007 23:50:50 +0000 (23:50 +0000)] 
updated docs for delete()

18 years agoreset managed attributes on mapped classes when clear_mappers called
Mike Bayer [Mon, 29 Jan 2007 23:41:11 +0000 (23:41 +0000)] 
reset managed attributes on mapped classes when clear_mappers called

18 years agoempty out ClassKey registry when clear_mappers() is called
Mike Bayer [Mon, 29 Jan 2007 23:08:55 +0000 (23:08 +0000)] 
empty out ClassKey registry when clear_mappers() is called

18 years agofixes to quoting on "fake" column when used off its table
Mike Bayer [Mon, 29 Jan 2007 22:41:53 +0000 (22:41 +0000)] 
fixes to quoting on "fake" column when used off its table

18 years agoremoved erroneous "lazy"
Mike Bayer [Sun, 28 Jan 2007 23:52:53 +0000 (23:52 +0000)] 
removed erroneous "lazy"

18 years agoremoved various print statements
Mike Bayer [Sun, 28 Jan 2007 23:52:01 +0000 (23:52 +0000)] 
removed various print statements

18 years agoadded regexp search for "schema" in sequence reflection for [ticket:442], courtesy...
Mike Bayer [Sun, 28 Jan 2007 23:40:34 +0000 (23:40 +0000)] 
added regexp search for "schema" in sequence reflection for [ticket:442], courtesy david.mugnai@spacespa.it

18 years agomerged the polymorphic relationship refactoring branch in. i want to go further...
Mike Bayer [Sun, 28 Jan 2007 23:33:53 +0000 (23:33 +0000)] 
merged the polymorphic relationship refactoring branch in.  i want to go further on that branch and introduce the foreign_keys argument, and further centralize the "intelligence" about the joins and selectables into PropertyLoader so that lazyloader/sync can be simplified, but the current branch goes pretty far.
  - relations keep track of "polymorphic_primaryjoin", "polymorphic_secondaryjoin" which it derives from the plain primaryjoin/secondaryjoin.
  - lazy/eagerloaders work from those polymorphic join objects.
  - the join exported by PropertyLoader to Query/SelectResults is the polymorphic join, so that join_to/etc work properly.
  - Query builds itself against the base Mapper again, not the "polymorphic" mapper.  uses the "polymorphic" version
 only as appropriate.  this helps join_by/join_to/etc to work with polymorphic mappers.
  - Query will also adapt incoming WHERE criterion to the polymorphic mapper, i.e. the "people" table becomes the "person_join" automatically.
  - quoting has been modified since labels made out of non-case-sensitive columns could themselves require quoting..so case_sensitive defaults to True if not otherwise specified (used to be based on the identifier itself).
  - the test harness gets an ORMTest base class and a bunch of the ORM unit tests are using it now, decreases a lot of redundancy.

18 years agofixed "eager=True"
Mike Bayer [Sun, 28 Jan 2007 22:53:07 +0000 (22:53 +0000)] 
fixed "eager=True"

18 years ago- added a standardized test harness for ORM tests
Mike Bayer [Sat, 27 Jan 2007 22:31:39 +0000 (22:31 +0000)] 
- added a standardized test harness for ORM tests
- added three-level mapping test.  needed some massaging for postgres

18 years ago- fix for multi-level polymorphic mappers
Mike Bayer [Sat, 27 Jan 2007 21:30:35 +0000 (21:30 +0000)] 
- fix for multi-level polymorphic mappers

18 years ago- eager relation to an inheriting mapper wont fail if no rows returned for
Mike Bayer [Sat, 27 Jan 2007 01:40:26 +0000 (01:40 +0000)] 
- eager relation to an inheriting mapper wont fail if no rows returned for
the relationship.

18 years agoadded a close() to the single SQL execute, useful for testing pool behavior with...
Mike Bayer [Sat, 27 Jan 2007 01:08:39 +0000 (01:08 +0000)] 
added a close() to the single SQL execute, useful for testing pool behavior with the ORM

18 years agoremoved print line
Mike Bayer [Fri, 26 Jan 2007 01:31:54 +0000 (01:31 +0000)] 
removed print line

18 years agopool_size was there already of course :-|
Jonathan Ellis [Thu, 25 Jan 2007 21:50:23 +0000 (21:50 +0000)] 
pool_size was there already of course :-|

18 years agor/m unused import
Jonathan Ellis [Thu, 25 Jan 2007 20:07:56 +0000 (20:07 +0000)] 
r/m unused import

18 years agoadd pool_size to "list of all standard options"
Jonathan Ellis [Thu, 25 Jan 2007 19:25:23 +0000 (19:25 +0000)] 
add pool_size to "list of all standard options"

18 years ago- fix to reflection on older DB's that might return array() type for
Mike Bayer [Thu, 25 Jan 2007 01:37:15 +0000 (01:37 +0000)] 
- fix to reflection on older DB's that might return array() type for
"show variables like" statements

18 years ago- calling corresponding_column with keys_ok matches columns on name, not key, since
Mike Bayer [Wed, 24 Jan 2007 23:37:03 +0000 (23:37 +0000)] 
- calling corresponding_column with keys_ok matches columns on name, not key, since
the name is meaningful with regards to SQL relationships, the key is not
- adjustments to the recent polymorphic relationship refactorings, specifically
for many-to-one relationships to polymorphic unions that did not contain the
base table [ticket:439].  the lazy/eager clause adaption to the selectable
will match up on straight column names (i.e. its a more liberal policy)
- lazy loader will not attempt to adapt the clause to the selectable if
loads_polymorphic is not enabled, since the more liberal policy of adapting
columns fails for more elaborate join conditions
- will have to see if ppl want to do complex joins with polymorphic relations...
may have to add "polymorphic_primaryjoin" in that case as a last resort (would make
working around these issues a snap, tho...)

18 years agoadded unit tests illustrating current workaround for assignmapper method name/collect...
Mike Bayer [Wed, 24 Jan 2007 22:43:25 +0000 (22:43 +0000)] 
added unit tests illustrating current workaround for assignmapper method name/collection class collision

18 years agoraise exception if invalid collection class used
Mike Bayer [Wed, 24 Jan 2007 19:57:02 +0000 (19:57 +0000)] 
raise exception if invalid collection class used