]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
17 years agobizarre duplicate keyword seems to not raise in py2.5
Mike Bayer [Sat, 10 May 2008 17:44:54 +0000 (17:44 +0000)] 
bizarre duplicate keyword seems to not raise in py2.5

17 years agomerged r4720 from 04 branch for [ticket:1036]
Mike Bayer [Sat, 10 May 2008 17:42:09 +0000 (17:42 +0000)] 
merged r4720 from 04 branch for [ticket:1036]

17 years agoFix typo in the ORM tutorial
Lele Gaifax [Sat, 10 May 2008 09:02:55 +0000 (09:02 +0000)] 
Fix typo in the ORM tutorial

17 years agoReworked & stripped.
Jason Kirtland [Sat, 10 May 2008 01:59:07 +0000 (01:59 +0000)] 
Reworked & stripped.

17 years agoorder by doc
Mike Bayer [Sat, 10 May 2008 00:54:17 +0000 (00:54 +0000)] 
order by doc

17 years agoedits
Mike Bayer [Sat, 10 May 2008 00:31:35 +0000 (00:31 +0000)] 
edits

17 years agoremoved deprecated plugins docs
Mike Bayer [Sat, 10 May 2008 00:31:09 +0000 (00:31 +0000)] 
removed deprecated plugins docs

17 years agobackref() function uses primaryjoin/secondaryjoin of the parent relation() if not...
Mike Bayer [Sat, 10 May 2008 00:26:28 +0000 (00:26 +0000)] 
backref() function uses primaryjoin/secondaryjoin of the parent relation() if not otherwise specified, removing the frequently annoying need to specify primaryjoin twice.

17 years agoChipping away at remaining cruft.
Jason Kirtland [Sat, 10 May 2008 00:05:03 +0000 (00:05 +0000)] 
Chipping away at remaining cruft.

17 years ago- fixed a fairly critical bug in clause adaption/corresponding column in conjunction...
Mike Bayer [Fri, 9 May 2008 23:58:30 +0000 (23:58 +0000)] 
- fixed a fairly critical bug in clause adaption/corresponding column in conjunction with annotations
- implicit order by is removed, modified many tests to explicitly set ordering, probably many more to go
once it hits the buildbot.

17 years agoadd target_fullname as a public property for _get_colspec
Gaëtan de Menten [Fri, 9 May 2008 20:49:32 +0000 (20:49 +0000)] 
add target_fullname as a public property for _get_colspec

17 years agoTest suite modernization in progress. Big changes:
Jason Kirtland [Fri, 9 May 2008 20:26:09 +0000 (20:26 +0000)] 
Test suite modernization in progress.  Big changes:
 - @unsupported now only accepts a single target and demands a reason
   for not running the test.
 - @exclude also demands an exclusion reason
 - Greatly expanded @testing.requires.<feature>, eliminating many
   decorators in the suite and signficantly easing integration of
   multi-driver support.
 - New ORM test base class, and a featureful base for mapped tests
 - Usage of 'global' for shared setup going away, * imports as well

17 years agomore order bys...
Mike Bayer [Fri, 9 May 2008 20:04:29 +0000 (20:04 +0000)] 
more order bys...

17 years agosome tweaks to help MySQL
Mike Bayer [Fri, 9 May 2008 19:42:32 +0000 (19:42 +0000)] 
some tweaks to help MySQL

17 years ago- more portable tests for eager/inheritance joins
Mike Bayer [Fri, 9 May 2008 19:20:49 +0000 (19:20 +0000)] 
- more portable tests for eager/inheritance joins
- bumped 2.4 call count for profile test_select
- don't need initialize_properties() during reentrant compile() call (for now)

17 years agoMSText no longer implicitly creates TEXT for string with no length
Mike Bayer [Fri, 9 May 2008 19:00:55 +0000 (19:00 +0000)] 
MSText no longer implicitly creates TEXT for string with no length
(this actually allows CAST (foo, VARCHAR) to render too)

17 years agoadded query.subquery() as shorthand for query.statement.alias()
Mike Bayer [Fri, 9 May 2008 18:57:40 +0000 (18:57 +0000)] 
added query.subquery() as shorthand for query.statement.alias()

17 years agoidentified case where pending upon commit() is needed; since attribute rollback funct...
Mike Bayer [Fri, 9 May 2008 18:43:05 +0000 (18:43 +0000)] 
identified case where pending upon commit() is needed; since attribute rollback functionality is gone its safe to revert to this

17 years agomove the definition of sessions public methods closer to the source
Ants Aasma [Fri, 9 May 2008 17:50:38 +0000 (17:50 +0000)] 
move the definition of sessions public methods closer to the source

17 years agoadded "add", "add_all", "expire_all" to SS
Mike Bayer [Fri, 9 May 2008 17:42:24 +0000 (17:42 +0000)] 
added "add", "add_all", "expire_all" to SS

17 years agotweak
Mike Bayer [Fri, 9 May 2008 17:28:43 +0000 (17:28 +0000)] 
tweak

17 years agoneed delete-orphan
Mike Bayer [Fri, 9 May 2008 17:21:10 +0000 (17:21 +0000)] 
need delete-orphan

17 years ago- warnings about Query invalid operations become InvalidRequestErrors
Mike Bayer [Fri, 9 May 2008 17:05:13 +0000 (17:05 +0000)] 
- warnings about Query invalid operations become InvalidRequestErrors
- __no_criterion() checks for more pre-existing conditions
- helpful note in 0.5 svn readme

17 years agor4695 merged to trunk; trunk now becomes 0.5.
Mike Bayer [Fri, 9 May 2008 16:34:10 +0000 (16:34 +0000)] 
r4695 merged to trunk; trunk now becomes 0.5.
0.4 development continues at /sqlalchemy/branches/rel_0_4

17 years agodoc update on quote
Mike Bayer [Thu, 8 May 2008 21:29:07 +0000 (21:29 +0000)] 
doc update on quote

17 years agoremove **kwargs from execute(), scalar(), connection(), and get_bind(). document...
Mike Bayer [Thu, 8 May 2008 00:47:23 +0000 (00:47 +0000)] 
remove **kwargs from execute(), scalar(), connection(), and get_bind().  document all args, [ticket:1028]

17 years ago- backported 0.5's contains_eager() behavior such that rendering of eager clauses...
Mike Bayer [Thu, 8 May 2008 00:19:06 +0000 (00:19 +0000)] 
- backported 0.5's contains_eager() behavior such that rendering of eager clauses are disabled.  workaround here is compatible with 0.5 but not compatible with the little-known "decorator" argument to contains_eager() (which was also removed in 0.5).  Doesn't remove any existing 0.4 functionality.

17 years ago- added an example dynamic_dict/dynamic_dict.py, illustrating
Mike Bayer [Wed, 7 May 2008 14:48:04 +0000 (14:48 +0000)] 
- added an example dynamic_dict/dynamic_dict.py, illustrating
a simple way to place dictionary behavior on top of
a dynamic_loader.

17 years ago- Fixed "concatenate tuple" bug which could occur with
Mike Bayer [Wed, 7 May 2008 03:48:14 +0000 (03:48 +0000)] 
- Fixed "concatenate tuple" bug which could occur with
Query.order_by() if clause adaption had taken place.
[ticket:1027]

17 years agoQuery.select() wont call filter() if arg is None
Mike Bayer [Tue, 6 May 2008 19:06:43 +0000 (19:06 +0000)] 
Query.select() wont call filter() if arg is None

17 years agofix foreign_keys example
Mike Bayer [Tue, 6 May 2008 16:06:22 +0000 (16:06 +0000)] 
fix foreign_keys example

17 years agoAdded missing argument check on CheckConstraint
Jason Kirtland [Tue, 6 May 2008 14:40:24 +0000 (14:40 +0000)] 
Added missing argument check on CheckConstraint

17 years ago- _Label adds itself to the proxy collection so that it works in correspoinding colum...
Mike Bayer [Tue, 6 May 2008 00:55:49 +0000 (00:55 +0000)] 
- _Label adds itself to the proxy collection so that it works in correspoinding column.  fixes some eager load with column_property bugs.
- this partially fixes some issues in [ticket:1022] but leaving the "unlabeled" fix for 0.5 for now

17 years ago- added "after_begin()" hook to Session
Mike Bayer [Tue, 6 May 2008 00:47:36 +0000 (00:47 +0000)] 
- added "after_begin()" hook to Session
- Session.rollback() will rollback on a prepared session

17 years agoTidy.
Jason Kirtland [Tue, 6 May 2008 00:46:00 +0000 (00:46 +0000)] 
Tidy.

17 years agoFix typo
Lele Gaifax [Mon, 5 May 2008 23:08:11 +0000 (23:08 +0000)] 
Fix typo

17 years agoAdjusted inplace-binops on set-based collections and association proxies to
Jason Kirtland [Mon, 5 May 2008 21:33:29 +0000 (21:33 +0000)] 
Adjusted inplace-binops on set-based collections and association proxies to
more closely follow builtin (2.4+) set semantics.  Formerly any set duck-type
was accepted, now only types or subtypes of set, frozenset or the collection
type itself are accepted.

17 years agofailing case
Mike Bayer [Mon, 5 May 2008 17:50:19 +0000 (17:50 +0000)] 
failing case

17 years agoFixed duplicate append event emission on repeated instrumented set.add() operations.
Jason Kirtland [Mon, 5 May 2008 17:08:00 +0000 (17:08 +0000)] 
Fixed duplicate append event emission on repeated instrumented set.add() operations.

17 years agoUpdate for r4643
Jason Kirtland [Mon, 5 May 2008 16:53:39 +0000 (16:53 +0000)] 
Update for r4643

17 years agoRenamed rollback_returned to reset_on_return. Future, dialect-aware pools can do...
Jason Kirtland [Mon, 5 May 2008 16:50:58 +0000 (16:50 +0000)] 
Renamed rollback_returned to reset_on_return.  Future, dialect-aware pools can do better than rollback for this function.

17 years ago - same as [ticket:1019] but repaired the non-labeled use case
Mike Bayer [Mon, 5 May 2008 16:46:24 +0000 (16:46 +0000)] 
- same as [ticket:1019] but repaired the non-labeled use case
      [ticket:1022]

17 years ago - added "rollback_returned" option to Pool which will
Mike Bayer [Mon, 5 May 2008 15:52:09 +0000 (15:52 +0000)] 
- added "rollback_returned" option to Pool which will
      disable the rollback() issued when connections are
      returned.  This flag is only safe to use with a database
      which does not support transactions (i.e. MySQL/MyISAM).

17 years ago - Column.copy() respects the value of "autoincrement",
Mike Bayer [Mon, 5 May 2008 14:59:07 +0000 (14:59 +0000)] 
  - Column.copy() respects the value of "autoincrement",
      fixes usage with Migrate [ticket:1021]

17 years ago- fixes to the "exists" function involving inheritance (any(), has(),
Mike Bayer [Fri, 2 May 2008 19:23:58 +0000 (19:23 +0000)] 
- fixes to the "exists" function involving inheritance (any(), has(),
~contains()); the full target join will be rendered into the
EXISTS clause for relations that link to subclasses.

17 years ago- The collection instrumentation sweep now skips over descriptors that raise Attribut...
Jason Kirtland [Fri, 2 May 2008 18:47:05 +0000 (18:47 +0000)] 
- The collection instrumentation sweep now skips over descriptors that raise AttributeError.

17 years ago- fixed reentrant mapper compile hang when
Mike Bayer [Fri, 2 May 2008 18:23:16 +0000 (18:23 +0000)] 
- fixed reentrant mapper compile hang when
a declared attribute is used within ForeignKey,
ie. ForeignKey(MyOtherClass.someattribute)

17 years ago- Backported attribute sweep removal (instrumentation) and r4493 from 0.5
Jason Kirtland [Fri, 2 May 2008 17:46:44 +0000 (17:46 +0000)] 
- Backported attribute sweep removal (instrumentation) and r4493 from 0.5

17 years agoone-off workaround for mssql + odbc options, user patch
Rick Morrison [Fri, 2 May 2008 17:26:38 +0000 (17:26 +0000)] 
one-off workaround for mssql + odbc options, user patch

17 years ago- an unfortunate naming conflict
Mike Bayer [Fri, 2 May 2008 01:15:26 +0000 (01:15 +0000)] 
- an unfortunate naming conflict
- needed sql import on and()

17 years ago- factored out the logic used by Join to create its join condition
Mike Bayer [Fri, 2 May 2008 01:02:23 +0000 (01:02 +0000)] 
- factored out the logic used by Join to create its join condition
- With declarative, joined table inheritance mappers use a slightly relaxed
function to create the "inherit condition" to the parent
table, so that other foreign keys to not-yet-declared
Table objects don't trigger an error.

17 years agoadded some reference tests for the any() situation
Mike Bayer [Thu, 1 May 2008 15:17:07 +0000 (15:17 +0000)] 
added some reference tests for the any() situation

17 years ago- Fix 2.3 regression from 4598
Jason Kirtland [Wed, 30 Apr 2008 02:52:14 +0000 (02:52 +0000)] 
- Fix 2.3 regression from 4598

17 years ago- added a feature to eager loading whereby subqueries set
Mike Bayer [Wed, 30 Apr 2008 01:16:05 +0000 (01:16 +0000)] 
- added a feature to eager loading whereby subqueries set
as column_property() with explicit label names (which is not
necessary, btw) will have the label anonymized when
the instance is part of the eager join, to prevent
conflicts with a subquery or column of the same name
on the parent object.  [ticket:1019]

17 years agoAnd a copy.copy() test for the proxy cache.
Jason Kirtland [Tue, 29 Apr 2008 18:28:36 +0000 (18:28 +0000)] 
And a copy.copy() test for the proxy cache.

17 years ago- Refresh the cached proxy if the cache was built for a different instance.
Jason Kirtland [Tue, 29 Apr 2008 18:22:23 +0000 (18:22 +0000)] 
- Refresh the cached proxy if the cache was built for a different instance.

17 years agoadded multi-level concrete inheritance test (testing with_polymorphic mapper argument)
Gaëtan de Menten [Tue, 29 Apr 2008 13:35:59 +0000 (13:35 +0000)] 
added multi-level concrete inheritance test (testing with_polymorphic mapper argument)

17 years agomore declarative doc updates
Mike Bayer [Mon, 28 Apr 2008 00:04:05 +0000 (00:04 +0000)] 
more declarative doc updates

17 years agofix docs for declarative
Mike Bayer [Sun, 27 Apr 2008 23:37:02 +0000 (23:37 +0000)] 
fix docs for declarative

17 years agoSavepoints are supported under Firebird
Lele Gaifax [Sun, 27 Apr 2008 08:54:36 +0000 (08:54 +0000)] 
Savepoints are supported under Firebird

17 years agofix order by for MySQL environment
Mike Bayer [Sat, 26 Apr 2008 20:18:31 +0000 (20:18 +0000)] 
fix order by for MySQL environment

17 years ago- improved behavior of text() expressions when used as
Mike Bayer [Sat, 26 Apr 2008 16:34:14 +0000 (16:34 +0000)] 
- improved behavior of text() expressions when used as
FROM clauses, such as select().select_from(text("sometext"))
[ticket:1014]
- removed _TextFromClause; _TextClause just adds necessary FromClause descriptors
at the class level

17 years ago- refined mapper._save_obj() which was unnecessarily calling
Mike Bayer [Sat, 26 Apr 2008 16:13:49 +0000 (16:13 +0000)] 
- refined mapper._save_obj() which was unnecessarily calling
__ne__() on scalar values during flush [ticket:1015]

17 years agoExpanded --noncomparable to cover all comparision ops
Jason Kirtland [Fri, 25 Apr 2008 20:44:02 +0000 (20:44 +0000)] 
Expanded --noncomparable to cover all comparision ops

17 years agotypo
Gaëtan de Menten [Fri, 25 Apr 2008 12:31:47 +0000 (12:31 +0000)] 
typo

17 years agoUpdate docstring [ticket:873]
Jason Kirtland [Tue, 22 Apr 2008 20:04:51 +0000 (20:04 +0000)] 
Update docstring [ticket:873]

17 years agoExplicit test of .autoflush(False) to avoid issues with save_on_init=True [ticket...
Jason Kirtland [Tue, 22 Apr 2008 19:57:13 +0000 (19:57 +0000)] 
Explicit test of .autoflush(False) to avoid issues with save_on_init=True [ticket:869]

17 years agoflush(objects=[]) is a no-op [ticket:928]
Jason Kirtland [Tue, 22 Apr 2008 19:29:56 +0000 (19:29 +0000)] 
flush(objects=[]) is a no-op [ticket:928]

17 years ago - fixed Class.collection==None for m2m relationships
Mike Bayer [Tue, 22 Apr 2008 15:05:10 +0000 (15:05 +0000)] 
- fixed Class.collection==None for m2m relationships
      [ticket:4213]

17 years ago- restored usage of append_result() extension method for primary
Mike Bayer [Fri, 18 Apr 2008 14:49:21 +0000 (14:49 +0000)] 
- restored usage of append_result() extension method for primary
query rows, when the extension is present and only a single-
entity result is being returned.

17 years agoAdded 'odbc_options' keyword to the MSSQL dialect. Allows a partial ODBC connection...
Rick Morrison [Thu, 17 Apr 2008 19:07:12 +0000 (19:07 +0000)] 
Added 'odbc_options' keyword to the MSSQL dialect. Allows a partial ODBC connection string to be passed through to the connection string generator.

17 years ago- Support for COLLATE: collate(expr, col) and expr.collate(col)
Jason Kirtland [Wed, 16 Apr 2008 00:53:21 +0000 (00:53 +0000)] 
- Support for COLLATE: collate(expr, col) and expr.collate(col)

17 years ago- simplified __create_lazy_clause to make better usage of the new local/remote pairs...
Mike Bayer [Mon, 14 Apr 2008 18:23:59 +0000 (18:23 +0000)] 
- simplified __create_lazy_clause to make better usage of the new local/remote pairs collection
- corrected the direction of local/remote pairs for manytoone
- added new tests which demonstrate lazyloading working when the bind param is embedded inside of a SQL function,
when _local_remote_pairs argument is used; fixes the viewonly version of [ticket:610]
- removed needless kwargs check from visitors.traverse

17 years agoadded info about _local_remote_pairs to error message
Mike Bayer [Mon, 14 Apr 2008 15:54:23 +0000 (15:54 +0000)] 
added info about _local_remote_pairs to error message

17 years ago- added experimental relation() flag to help with primaryjoins
Mike Bayer [Mon, 14 Apr 2008 15:49:39 +0000 (15:49 +0000)] 
- added experimental relation() flag to help with primaryjoins
across functions, etc., _local_remote_pairs=[tuples].
This complements a complex primaryjoin condition allowing
you to provide the individual column pairs which comprise
the relation's local and remote sides.

17 years agoPass connection to get_default_schema_name
Jason Kirtland [Sun, 13 Apr 2008 16:21:17 +0000 (16:21 +0000)] 
Pass connection to get_default_schema_name

17 years agoFirebird 2 has a SUBSTRING() builtin, expose it thru a function
Lele Gaifax [Fri, 11 Apr 2008 22:14:34 +0000 (22:14 +0000)] 
Firebird 2 has a SUBSTRING() builtin, expose it thru a function

17 years ago- re-established viewonly relation() configurations that
Mike Bayer [Fri, 11 Apr 2008 15:58:18 +0000 (15:58 +0000)] 
- re-established viewonly relation() configurations that
join across multiple tables.

17 years agoAdd a new 'odbc_autotranslate' engine/dburi kwd parm to the MSSQL pyodbc dialect...
Rick Morrison [Tue, 8 Apr 2008 19:09:33 +0000 (19:09 +0000)] 
Add a new 'odbc_autotranslate' engine/dburi kwd parm to the MSSQL pyodbc dialect; string kwd contents will be passed through to ODBC connection string.
[ticket:1005]

17 years agoremove monetdb typo
Matt Harrison [Mon, 7 Apr 2008 22:48:39 +0000 (22:48 +0000)] 
remove monetdb typo

17 years agorefactor of default_paramstyle, use paramstyle argument on Dialect to change
Matt Harrison [Mon, 7 Apr 2008 22:42:28 +0000 (22:42 +0000)] 
refactor of default_paramstyle, use paramstyle argument on Dialect to change

17 years ago- Avoid cProfile on 2.4 (available via lsprof?)
Jason Kirtland [Mon, 7 Apr 2008 22:17:42 +0000 (22:17 +0000)] 
- Avoid cProfile on 2.4 (available via lsprof?)

17 years agoremove unneeded compile assertion test, doesn't work on MySQL
Mike Bayer [Mon, 7 Apr 2008 21:53:13 +0000 (21:53 +0000)] 
remove unneeded compile assertion test, doesn't work on MySQL

17 years ago*headslap* those mutators cant mutate the collections except for never-generated...
Mike Bayer [Mon, 7 Apr 2008 20:44:39 +0000 (20:44 +0000)] 
*headslap* those mutators cant mutate the collections except for never-generated selectables; its not worth it

17 years ago- removed ancient assertion that mapped selectables require
Mike Bayer [Mon, 7 Apr 2008 19:49:41 +0000 (19:49 +0000)] 
- removed ancient assertion that mapped selectables require
"alias names" - the mapper creates its own alias now if
none is present.  Though in this case you need to use
the class, not the mapped selectable, as the source of
column attributes - so a warning is still issued.

17 years agosome fk fixes for PG
Mike Bayer [Mon, 7 Apr 2008 01:15:37 +0000 (01:15 +0000)] 
some fk fixes for PG

17 years ago- merged -r4458:4466 of query_columns branch
Mike Bayer [Mon, 7 Apr 2008 01:12:44 +0000 (01:12 +0000)] 
- merged -r4458:4466 of query_columns branch
- this branch changes query.values() to immediately return an iterator, adds a new "aliased" construct which will be the primary method to get at aliased columns when using values()
- tentative ORM versions of _join and _outerjoin are not yet public, would like to integrate with Query better (work continues in the branch)
- lots of fixes to expressions regarding cloning and correlation.  Some apparent ORM bug-workarounds removed.
- to fix a recursion issue with anonymous identifiers, bind parameters generated against columns now just use the name of the column instead of the tablename_columnname label (plus the unique integer counter).  this way expensive recursive schemes aren't needed for the anon identifier logic.   This, as usual, impacted a ton of compiler unit tests which needed a search-n-replace for the new bind names.

17 years agorefined "local_remote_pairs" a bit to account for the same columns repeated multiple...
Mike Bayer [Fri, 4 Apr 2008 20:21:03 +0000 (20:21 +0000)] 
refined "local_remote_pairs" a bit to account for the same columns repeated multiple times

17 years ago- Pool listeners may now be specified as a duck-type of PoolListener or a dict of...
Jason Kirtland [Fri, 4 Apr 2008 19:07:30 +0000 (19:07 +0000)] 
- Pool listeners may now be specified as a duck-type of PoolListener or a dict of callables, your choice.

17 years agofactored down exportable_columns/flatten_cols/proxy_column/oid_etc_yada down to a...
Mike Bayer [Fri, 4 Apr 2008 18:41:08 +0000 (18:41 +0000)] 
factored down exportable_columns/flatten_cols/proxy_column/oid_etc_yada down to a single, streamlined "_populate_column_collection" method called for all selectables

17 years agofixed union() bug whereby oid_column would not be available if no oid_column in embed...
Mike Bayer [Fri, 4 Apr 2008 16:06:58 +0000 (16:06 +0000)] 
fixed union() bug whereby oid_column would not be available if no oid_column in embedded selects

17 years agobump
Mike Bayer [Fri, 4 Apr 2008 02:11:56 +0000 (02:11 +0000)] 
bump

17 years agoYep. rel_0_4_5
Jason Kirtland [Fri, 4 Apr 2008 00:58:11 +0000 (00:58 +0000)] 
Yep.

17 years ago- ReST fixes
Mike Bayer [Fri, 4 Apr 2008 00:49:13 +0000 (00:49 +0000)] 
- ReST fixes
- reverted strange jeklike symbol syntax

17 years ago- changed the name to "local/remote pairs"
Mike Bayer [Fri, 4 Apr 2008 00:31:00 +0000 (00:31 +0000)] 
- changed the name to "local/remote pairs"
- added closing ' to symbol str()  (I'm assuming it's supposed to be that way)

17 years ago- merged sync_simplify branch
Mike Bayer [Fri, 4 Apr 2008 00:21:28 +0000 (00:21 +0000)] 
- merged sync_simplify branch
- The methodology behind "primaryjoin"/"secondaryjoin" has
been refactored.  Behavior should be slightly more
intelligent, primarily in terms of error messages which
have been pared down to be more readable.  In a slight
number of scenarios it can better resolve the correct
foreign key than before.
- moved collections unit test from relationships.py to collection.py
- PropertyLoader now has "synchronize_pairs" and "equated_pairs"
collections which allow easy access to the source/destination
parent/child relation between columns (might change names)
- factored out ClauseSynchronizer (finally)
- added many more tests for priamryjoin/secondaryjoin
error checks

17 years ago- microcleanup
Jason Kirtland [Thu, 3 Apr 2008 17:32:22 +0000 (17:32 +0000)] 
- microcleanup

17 years ago- Experimental: prefer cProfile over hotspot for 2.5+
Jason Kirtland [Thu, 3 Apr 2008 17:08:08 +0000 (17:08 +0000)] 
- Experimental: prefer cProfile over hotspot for 2.5+
- The latest skirmish in the battle against zoomark and sanity:
  3rd party code is factored out in the function call count canary tests

17 years agoA couple of usage examples for the case statement
Ants Aasma [Thu, 3 Apr 2008 16:54:26 +0000 (16:54 +0000)] 
A couple of usage examples for the case statement

17 years ago- case() interprets the "THEN" expressions
Mike Bayer [Thu, 3 Apr 2008 16:34:03 +0000 (16:34 +0000)] 
- case() interprets the "THEN" expressions
as values by default, meaning case([(x==y, "foo")]) will
interpret "foo" as a bound value, not a SQL expression.
use text(expr) for literal SQL expressions in this case.
For the criterion itself, these may be literal strings
only if the "value" keyword is present, otherwise SA
will force explicit usage of either text() or literal().