]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
14 years ago- [bug] column.label(None) now produces an
Mike Bayer [Tue, 24 Apr 2012 17:04:38 +0000 (13:04 -0400)] 
- [bug] column.label(None) now produces an
anonymous label, instead of returning the
column object itself, consistent with the behavior
of label(column, None).  [ticket:2168]

14 years ago- [feature] Added a new system
Mike Bayer [Tue, 24 Apr 2012 17:00:30 +0000 (13:00 -0400)] 
- [feature] Added a new system
for registration of new dialects in-process
without using an entrypoint.  See the
docs for "Registering New Dialects".
[ticket:2462]

14 years ago- [feature] The column_reflect event now
Mike Bayer [Tue, 24 Apr 2012 16:01:04 +0000 (12:01 -0400)] 
- [feature] The column_reflect event now
accepts the Inspector object as the first
argument, preceding "table".   Code which
uses the 0.7 version of this very new
event will need modification to add the
"inspector" object as the first argument.
[ticket:2418]

14 years ago- [bug] The warning emitted when using
Mike Bayer [Tue, 24 Apr 2012 15:58:14 +0000 (11:58 -0400)] 
- [bug] The warning emitted when using
delete-orphan cascade with one-to-many
or many-to-many without single-parent=True
is now an error.  The ORM
would fail to function subsequent to this
warning in any case.  [ticket:2405]

14 years ago- [bug] The "passive" flag on Session.is_modified()
Mike Bayer [Tue, 24 Apr 2012 15:55:04 +0000 (11:55 -0400)] 
- [bug] The "passive" flag on Session.is_modified()
no longer has any effect. is_modified() in
all cases looks only at local in-memory
modified flags and will not emit any
SQL or invoke loader callables/initializers.
[ticket:2320]

14 years agocallcount tweak here, this moved up due to r5b6237e3f068
Mike Bayer [Tue, 24 Apr 2012 15:34:56 +0000 (11:34 -0400)] 
callcount tweak here, this moved up due to r5b6237e3f068

14 years ago- [bug] The names of the columns on the
Mike Bayer [Tue, 24 Apr 2012 15:24:23 +0000 (11:24 -0400)] 
- [bug] The names of the columns on the
.c. attribute of a select().apply_labels()
is now based on <tablename>_<colkey> instead
of <tablename>_<colname>, for those columns
that have a distinctly named .key.
[ticket:2397]

14 years agochangelog adjust
Mike Bayer [Tue, 24 Apr 2012 15:16:24 +0000 (11:16 -0400)] 
changelog adjust

14 years ago- [bug] removed legacy behavior whereby
Mike Bayer [Tue, 24 Apr 2012 15:16:03 +0000 (11:16 -0400)] 
- [bug] removed legacy behavior whereby
a column comparison to a scalar SELECT via
== would coerce to an IN with the SQL server
dialect.  This is implicit
behavior which fails in other scenarios
so is removed.  Code which relies on this
needs to be modified to use column.in_(select)
explicitly.  [ticket:2277]

14 years ago- [feature] New standalone function with_polymorphic()
Mike Bayer [Tue, 24 Apr 2012 02:17:25 +0000 (22:17 -0400)] 
- [feature] New standalone function with_polymorphic()
provides the functionality of query.with_polymorphic()
in a standalone form.   It can be applied to any
entity within a query, including as the target
of a join in place of the "of_type()" modifier.
[ticket:2333]
- redo a large portion of the inheritance docs in terms
of declarative, new with_polymorphic() function
- upgrade examples/inheritance/polymorph, rename to "joined"

14 years ago- [removed] The legacy "mutable" system of the
Mike Bayer [Mon, 23 Apr 2012 22:59:17 +0000 (18:59 -0400)] 
- [removed] The legacy "mutable" system of the
ORM, including the MutableType class as well
as the mutable=True flag on PickleType
and postgresql.ARRAY has been removed.
In-place mutations are detected by the ORM
using the sqlalchemy.ext.mutable extension,
introduced in 0.7.   The removal of MutableType
and associated constructs removes a great
deal of complexity from SQLAlchemy's internals.
The approach performed poorly as it would incur
a scan of the full contents of the Session
when in use. [ticket:2442]

14 years agothe callcounts are greater here since object_mapper() has a little more overhead...
Mike Bayer [Mon, 23 Apr 2012 22:53:58 +0000 (18:53 -0400)] 
the callcounts are greater here since object_mapper() has a little more overhead to it now

14 years ago- some adjustments to keep hybrid properties working
Mike Bayer [Mon, 23 Apr 2012 16:48:26 +0000 (12:48 -0400)] 
- some adjustments to keep hybrid properties working
- callcount here seems to have gone up by five, reason not certain

14 years agomerge patch for [ticket:2208]. This still needs documentation.
Mike Bayer [Mon, 23 Apr 2012 16:03:54 +0000 (12:03 -0400)] 
merge patch for [ticket:2208].   This still needs documentation.

14 years ago- re-merge + CHANGES
Mike Bayer [Mon, 23 Apr 2012 15:50:47 +0000 (11:50 -0400)] 
- re-merge + CHANGES

14 years ago- merge attribute flag overhaul for [ticket:2358]
Mike Bayer [Mon, 23 Apr 2012 15:45:06 +0000 (11:45 -0400)] 
- merge attribute flag overhaul for [ticket:2358]

14 years ago- merged #1401 branch from bitbucket
Mike Bayer [Sun, 22 Apr 2012 23:43:31 +0000 (19:43 -0400)] 
- merged #1401 branch from bitbucket
- resolved some serious speed hits I missed, we need to ensure
only deannotated columns are used in the local/remote collections and soforth
so that hash lookups against mapped columns don't dig into __eq__()
- fix some other parity mismatches regarding stuff from [ticket:2453],
including finding another case where _deep_annotate() was doing the wrong thing,
new tests.
- [feature] Major rewrite of relationship()
internals now allow join conditions which
include columns pointing to themselves
within composite foreign keys.   A new
API for very specialized primaryjoin conditions
is added, allowing conditions based on
SQL functions, CAST, etc. to be handled
by placing the annotation functions
remote() and foreign() inline within the
expression when necessary.  Previous recipes
using the semi-private _local_remote_pairs
approach can be upgraded to this new
approach. [ticket:1401]

14 years ago0.8 initial prep
Mike Bayer [Sun, 22 Apr 2012 22:10:47 +0000 (18:10 -0400)] 
0.8 initial prep

14 years ago- [bug] Fixed bug in 0.7.6 introduced by
Mike Bayer [Thu, 19 Apr 2012 16:31:15 +0000 (12:31 -0400)] 
- [bug] Fixed bug in 0.7.6 introduced by
[ticket:2409] whereby column_mapped_collection
used against columns that were mapped as
joins or other indirect selectables
would fail to function.

Here, the serialize use case has gotten very complex since to
really target a column we'd need the root MetaData object,
then if we're hitting Alias objects and such there's really
nothing to hold onto.  Short of building a system where
Column objects have some kind of master hash identifier that
is consistently generated, the way this works can't really
suit every case - much easier would be to change the mechanics
of collections.py to make available the Mapper to the
collection adapter when it's first invoked.

14 years ago- [bug] UPDATE..FROM syntax with SQL Server
Mike Bayer [Wed, 18 Apr 2012 23:52:58 +0000 (19:52 -0400)] 
- [bug] UPDATE..FROM syntax with SQL Server
requires that the updated table be present
in the FROM clause when an alias of that
table is also present in the FROM clause.
The updated table is now always present
in the FROM, when FROM is present
in the first place.  Courtesy sayap.
[ticket:2468]

14 years ago- mysql [bug] Fixed bug whereby if cast() is used
Mike Bayer [Mon, 16 Apr 2012 16:08:32 +0000 (12:08 -0400)] 
- mysql [bug] Fixed bug whereby if cast() is used
on a SQL expression whose type is not supported
by cast() and therefore CAST isn't rendered by
the dialect, the order of evaluation could change
if the casted expression required that it be
grouped; grouping is now applied to those
expressions.  [ticket:2467]

14 years agoMerged in bentrofatter/sqlalchemy-informix-dialect-fix (pull request #7)
Mike Bayer [Thu, 12 Apr 2012 22:25:11 +0000 (18:25 -0400)] 
Merged in bentrofatter/sqlalchemy-informix-dialect-fix (pull request #7)

14 years ago- [bug] If conn.begin() fails when calling
Mike Bayer [Thu, 12 Apr 2012 18:38:52 +0000 (14:38 -0400)] 
- [bug] If conn.begin() fails when calling
"with engine.begin()", the newly acquired
Connection is closed explicitly before
propagating the exception onward normally.

14 years agoChanged misspelled 'altere' reserved word to 'alter'
Benjamin Trofatter [Thu, 12 Apr 2012 17:24:50 +0000 (12:24 -0500)] 
Changed misspelled 'altere' reserved word to 'alter'

14 years ago- test explicitly for 'VIEW', 'SYSTEM VIEW'
Mike Bayer [Thu, 12 Apr 2012 16:21:02 +0000 (12:21 -0400)] 
- test explicitly for 'VIEW', 'SYSTEM VIEW'
- move the test to the reflection tests

14 years agoMerged in elazar/sqlalchemy/fix/mysql-system-views (pull request #6)
Mike Bayer [Thu, 12 Apr 2012 16:16:48 +0000 (12:16 -0400)] 
Merged in elazar/sqlalchemy/fix/mysql-system-views (pull request #6)

14 years agoFixed test_system_views not checking for MySQL >= 5.0.0 as information_schema support...
elazar [Thu, 12 Apr 2012 12:35:49 +0000 (07:35 -0500)] 
Fixed test_system_views not checking for MySQL >= 5.0.0 as information_schema support is not available in previous versions

14 years agoModified MySQLDialect.get_view_names() to also return system views such as those...
elazar [Thu, 12 Apr 2012 02:32:00 +0000 (21:32 -0500)] 
Modified MySQLDialect.get_view_names() to also return system views such as those in information_schema

14 years ago- [feature] Added new flag to @validates
Mike Bayer [Wed, 11 Apr 2012 17:03:52 +0000 (13:03 -0400)] 
- [feature] Added new flag to @validates
include_removes.  When True, collection
remove and attribute del events
will also be sent to the validation function,
which accepts an additional argument
"is_remove" when this flag is used.

14 years ago- [feature] Added new connection event
Mike Bayer [Tue, 10 Apr 2012 23:38:22 +0000 (19:38 -0400)] 
- [feature] Added new connection event
dbapi_error(). Is called for all DBAPI-level
errors passing the original DBAPI exception
before SQLAlchemy modifies the state
of the cursor.

14 years ago- adjust mysql patch a bit so that we use
Mike Bayer [Sun, 8 Apr 2012 15:18:39 +0000 (11:18 -0400)] 
- adjust mysql patch a bit so that we use
built in quoting for the "idx_" name as well
- [bug] Fixed bug whereby column name inside
of "KEY" clause for autoincrement composite
column with InnoDB would double quote a
name that's a reserved word.  Courtesy Jeff
Dairiki. [ticket:2460]

14 years agoFix innodb autoinc constraint (double)quoting
Jeff Dairiki [Sat, 7 Apr 2012 04:55:39 +0000 (21:55 -0700)] 
Fix innodb autoinc constraint (double)quoting

14 years ago - [bug] Repaired the use_scope_identity
Mike Bayer [Thu, 5 Apr 2012 18:31:28 +0000 (14:31 -0400)] 
  - [bug] Repaired the use_scope_identity
    create_engine() flag when using the pyodbc
    dialect.  Previously this flag would be
    ignored if set to False.  When set to False,
    you'll get "SELECT @@identity" after each
    INSERT to get at the last inserted ID,
    for those tables which have "implicit_returning"
    set to False.

14 years ago- the inspect interface is done, needs docs.
Mike Bayer [Wed, 4 Apr 2012 23:08:05 +0000 (19:08 -0400)] 
- the inspect interface is done, needs docs.
- start dressing up InstanceState for it's coming out, start moving
internal things to be underscored within the lib

14 years agomerge fix
Mike Bayer [Tue, 3 Apr 2012 22:55:10 +0000 (18:55 -0400)] 
merge fix

14 years agobegin implementing inspection system for #2208
Mike Bayer [Tue, 3 Apr 2012 22:53:39 +0000 (18:53 -0400)] 
begin implementing inspection system for #2208

14 years agoFixing link to python's logging module (see #2456). Thanks astrochase!
Diana Clarke [Tue, 3 Apr 2012 21:40:51 +0000 (17:40 -0400)] 
Fixing link to python's logging module (see #2456). Thanks astrochase!

14 years agothen spiff up that error msg
Mike Bayer [Tue, 3 Apr 2012 15:24:16 +0000 (11:24 -0400)] 
then spiff up that error msg

14 years agoevery test passing for test_relationships
Mike Bayer [Tue, 3 Apr 2012 15:14:14 +0000 (11:14 -0400)] 
every test passing for test_relationships

14 years agoMerged in _diana_/sqlalchemy-2385 (pull request #4)
Mike Bayer [Tue, 3 Apr 2012 14:34:48 +0000 (10:34 -0400)] 
Merged in _diana_/sqlalchemy-2385 (pull request #4)

14 years ago- reopened #2453, needed to put in the original patch as well to cover the case
Mike Bayer [Tue, 3 Apr 2012 13:59:22 +0000 (09:59 -0400)] 
- reopened #2453, needed to put in the original patch as well to cover the case
of column_property() objs building off each other

14 years agomake auto-correlation the same for Query & select()
Diana Clarke [Tue, 3 Apr 2012 01:42:17 +0000 (21:42 -0400)] 
make auto-correlation the same for Query & select()

14 years agomost of the drizzle docs are copy/pasta, let's just point users to the mysql docs...
Diana Clarke [Tue, 3 Apr 2012 01:20:16 +0000 (21:20 -0400)] 
most of the drizzle docs are copy/pasta, let's just point users to the mysql docs and enhance as questions arise
- see #2385

14 years ago- move create_lazy_clause() to relationships
Mike Bayer [Sun, 1 Apr 2012 22:18:12 +0000 (18:18 -0400)] 
- move create_lazy_clause() to relationships
- add foreign, remote annotations to declarative

14 years agoMove a SQLLite datetime test to a new DateTimeTest case
Nathan Wright [Mon, 12 Mar 2012 22:48:29 +0000 (15:48 -0700)] 
Move a SQLLite datetime test to a new DateTimeTest case

14 years ago- [bug] Fixed bug whereby a primaryjoin
Mike Bayer [Mon, 12 Mar 2012 20:35:27 +0000 (13:35 -0700)] 
- [bug] Fixed bug whereby a primaryjoin
condition with a "literal" in it would
raise an error on compile with certain
kinds of deeply nested expressions
which also needed to render the same
bound parameter name more than once.
[ticket:2425]

14 years ago- add __table_cls__ option to declarative, not publicized yet, is for the moment
Mike Bayer [Mon, 12 Mar 2012 20:14:14 +0000 (13:14 -0700)] 
- add __table_cls__ option to declarative, not publicized yet, is for the moment
for the benefit of the test.lib.schema package.
- use test.lib.schema.Table for the table within test.lib.fixtures.DeclarativeMappedTest
- [bug] Removed the check for number of
rows affected when doing a multi-delete
against mapped objects.   If an ON DELETE
CASCADE exists between two rows, we can't
get an accurate rowcount from the DBAPI;
this particular count is not supported
on most DBAPIs in any case, MySQLdb
is the notable case where it is.
[ticket:2403]

14 years ago- [bug] Fixed memory leak in core which would
Mike Bayer [Sun, 11 Mar 2012 00:18:52 +0000 (16:18 -0800)] 
- [bug] Fixed memory leak in core which would
  occur when C extensions were used with
  particular types of result fetches,
  in particular when orm query.count()
  were called.  [ticket:2427]

14 years agomerge tip
Mike Bayer [Thu, 8 Mar 2012 08:51:49 +0000 (00:51 -0800)] 
merge tip

14 years agocleanup test_processors, modeling the PEP 399 style
Philip Jenvey [Thu, 8 Mar 2012 05:48:36 +0000 (21:48 -0800)] 
cleanup test_processors, modeling the PEP 399 style

14 years ago- [bug] Fixed event registration bug
Mike Bayer [Thu, 8 Mar 2012 03:36:22 +0000 (22:36 -0500)] 
- [bug] Fixed event registration bug
which would primarily show up as
events not being registered with
sessionmaker() instances created
after the event was associated
with the Session class.  [ticket:2424]

14 years agocallcount tweak
Mike Bayer [Mon, 5 Mar 2012 20:20:07 +0000 (15:20 -0500)] 
callcount tweak

14 years ago- [bug] Fixed bug whereby objects using
Mike Bayer [Mon, 5 Mar 2012 15:24:15 +0000 (10:24 -0500)] 
- [bug] Fixed bug whereby objects using
attribute_mapped_collection or
column_mapped_collection could not be
pickled.  [ticket:2409]

14 years agofix typos, SQL server also needs union all
Mike Bayer [Sat, 3 Mar 2012 18:10:37 +0000 (13:10 -0500)] 
fix typos, SQL server also needs union all

14 years agomerge this
Mike Bayer [Sat, 3 Mar 2012 18:01:14 +0000 (13:01 -0500)] 
merge this

14 years ago- [feature] Added cte() method to Query,
Mike Bayer [Sat, 3 Mar 2012 18:00:44 +0000 (13:00 -0500)] 
- [feature] Added cte() method to Query,
invokes common table expression support
from the Core (see below). [ticket:1859]

- [feature] Added support for SQL standard
common table expressions (CTE), allowing
SELECT objects as the CTE source (DML
not yet supported).  This is invoked via
the cte() method on any select() construct.
[ticket:1859]

14 years agounmonkeypatch the 2to3 preprocessor so we don't disturb subsequent runs
Philip Jenvey [Fri, 2 Mar 2012 08:21:18 +0000 (00:21 -0800)] 
unmonkeypatch the 2to3 preprocessor so we don't disturb subsequent runs
patch from mcdonc
fixes #2421

14 years agothis is 0.7.6..
Mike Bayer [Thu, 1 Mar 2012 00:18:11 +0000 (19:18 -0500)] 
this is 0.7.6..

14 years ago- [bug] Fixed the repr() for CascadeOptions to
Mike Bayer [Wed, 29 Feb 2012 23:27:17 +0000 (18:27 -0500)] 
- [bug] Fixed the repr() for CascadeOptions to
include refresh-expire.  Also reworked
CascadeOptions to be a <frozenset>.
[ticket:2417]

14 years ago- expand the check to determine if a selectable column is embedded
Mike Bayer [Wed, 29 Feb 2012 22:47:59 +0000 (17:47 -0500)] 
- expand the check to determine if a selectable column is embedded
in the corresponding selectable to take into account clones
of the target column.  fixes [ticket:2419]
- have _make_proxy() copy out the _is_clone_of attribute on the
new column so that even more corresponding_column() checks
work as expected for cloned elements.
- add a new test fixture so that mapped tests can be specified
using declarative.

14 years agoremove the "produce test" approach from the polymorphic_rel tests,
Mike Bayer [Tue, 28 Feb 2012 21:13:26 +0000 (16:13 -0500)] 
remove the "produce test" approach from the polymorphic_rel tests,
break out fixtures into a separate module which will be
used by some future test suites as well

14 years agoadded missing 0.4 versions to CHANGES_PRE_06
Mike Bayer [Mon, 27 Feb 2012 16:14:46 +0000 (11:14 -0500)] 
added missing 0.4 versions to CHANGES_PRE_06

14 years agofix callcount
Mike Bayer [Mon, 27 Feb 2012 00:42:16 +0000 (19:42 -0500)] 
fix callcount

14 years agoadd tests for #2128
Mike Bayer [Sun, 26 Feb 2012 23:43:36 +0000 (18:43 -0500)] 
add tests for #2128

14 years agoremove check_columns here so warning not emitted with update from
Mike Bayer [Sun, 26 Feb 2012 23:22:27 +0000 (18:22 -0500)] 
remove check_columns here so warning not emitted with update from

14 years agoalmost through all the fine tuning
Mike Bayer [Sat, 25 Feb 2012 23:04:40 +0000 (18:04 -0500)] 
almost through all the fine tuning

14 years agostart to work on error messages, allow foreign_keys as only argument
Mike Bayer [Sat, 25 Feb 2012 22:10:06 +0000 (17:10 -0500)] 
start to work on error messages, allow foreign_keys as only argument
if otherwise can't determine join condition due to no fks

14 years agoplus add it to the scoping namespace
Mike Bayer [Sat, 25 Feb 2012 19:38:00 +0000 (14:38 -0500)] 
plus add it to the scoping namespace

14 years ago- [feature] Added "no_autoflush" context
Mike Bayer [Sat, 25 Feb 2012 19:34:02 +0000 (14:34 -0500)] 
- [feature] Added "no_autoflush" context
manager to Session, used with with:
will temporarily disable autoflush.

14 years ago- [bug] A warning is emitted when a not-present
Mike Bayer [Tue, 21 Feb 2012 15:49:38 +0000 (10:49 -0500)] 
- [bug] A warning is emitted when a not-present
column is stated in the values() clause
of an insert() or update() construct.
Will move to an exception in 0.8.
[ticket:2413]

14 years agodocument with_lockmode(), [ticket:2412]
Mike Bayer [Mon, 20 Feb 2012 14:42:47 +0000 (09:42 -0500)] 
document with_lockmode(), [ticket:2412]

14 years agobreak up _join_left_to_right to call upon _prepare_right_side and _join_to_left.
Mike Bayer [Fri, 17 Feb 2012 00:29:00 +0000 (19:29 -0500)] 
break up _join_left_to_right to call upon _prepare_right_side and _join_to_left.
this separates the handling of each side totally making it easier to see
what's going on.

14 years ago- fix some unclear phrases in query regarding polymorphic,
Mike Bayer [Thu, 16 Feb 2012 23:54:10 +0000 (18:54 -0500)] 
- fix some unclear phrases in query regarding polymorphic,
slowly approaching [ticket:2333]
- pep8 most of the big old polymorphic tests, break lots
of the inheritance/test_query tests into individual tests
since these are the ones that are easily broken when
screwing with query

14 years agomysql connector python 3k is dev status
Mike Bayer [Thu, 16 Feb 2012 15:04:07 +0000 (10:04 -0500)] 
mysql connector python 3k is dev status

14 years agocallcounts
Mike Bayer [Wed, 15 Feb 2012 16:50:01 +0000 (11:50 -0500)] 
callcounts

14 years agotest failures
Mike Bayer [Wed, 15 Feb 2012 15:13:47 +0000 (10:13 -0500)] 
test failures

14 years agomodify these tests to ensure the CASE output is being used fully
Mike Bayer [Tue, 14 Feb 2012 17:59:11 +0000 (12:59 -0500)] 
modify these tests to ensure the CASE output is being used fully

14 years ago- [bug] Altered _params_from_query() function
Mike Bayer [Tue, 14 Feb 2012 17:04:04 +0000 (12:04 -0500)] 
- [bug] Altered _params_from_query() function
in Beaker example to pull bindparams from the
fully compiled statement, as a quick means
to get everything including subqueries in the
columns clause, etc.

14 years agoupdate the search to call searchindex.js in the latest way
Mike Bayer [Tue, 14 Feb 2012 15:16:16 +0000 (10:16 -0500)] 
update the search to call searchindex.js in the latest way
sphinx decides we should be, [ticket:2408]

14 years ago - [bug] Added execution_options() call to
Mike Bayer [Tue, 14 Feb 2012 01:21:18 +0000 (20:21 -0500)] 
  - [bug] Added execution_options() call to
    MockConnection (i.e., that used with
    strategy="mock") which acts as a pass through
    for arguments.

14 years ago - [feature] Added "no_parameters=True" execution
Mike Bayer [Tue, 14 Feb 2012 01:07:44 +0000 (20:07 -0500)] 
  - [feature] Added "no_parameters=True" execution
    option for connections.   If no parameters
    are present, will pass the statement
    as cursor.execute(statement), thereby invoking
    the DBAPIs behavior when no parameter collection
    is present; for psycopg2 and mysql-python, this
    means not interpreting % signs in the string.
    This only occurs with this option, and not
    just if the param list is blank, as otherwise
    this would produce inconsistent behavior
    of SQL expressions that normally escape percent
    signs (and while compiling, can't know ahead of
    time if parameters will be present in
    some cases).  [ticket:2407]

14 years agorevert this, bad idea
Mike Bayer [Tue, 14 Feb 2012 00:29:38 +0000 (19:29 -0500)] 
revert this, bad idea

14 years ago- [bug] Fixed the "render literal bind" function,
Mike Bayer [Mon, 13 Feb 2012 23:53:21 +0000 (18:53 -0500)] 
- [bug] Fixed the "render literal bind" function,
used by Alembic, to escape % signs with %%.

14 years ago- [bug] Fixed bug whereby MappedCollection
Mike Bayer [Mon, 13 Feb 2012 21:04:57 +0000 (16:04 -0500)] 
- [bug] Fixed bug whereby MappedCollection
would not get the appropriate collection
instrumentation if it were only used
in a custom subclass that used
@collection.internally_instrumented.
[ticket:2406]
- added docs for collection

14 years ago- test failures. one in particular seems to be a weird oursql bug, oh well
Mike Bayer [Mon, 13 Feb 2012 01:00:44 +0000 (20:00 -0500)] 
- test failures.  one in particular seems to be a weird oursql bug, oh well

14 years ago- break out sample URLs into individual, per-database sections each with a link
Mike Bayer [Mon, 13 Feb 2012 00:06:49 +0000 (19:06 -0500)] 
- break out sample URLs into individual, per-database sections each with a link
to the dialect page.
- add a section for unix domain sockets under psycopg2 [ticket:2393]

14 years ago- [feature] Added a new oracle create_engine() flag
Mike Bayer [Sun, 12 Feb 2012 23:45:17 +0000 (18:45 -0500)] 
- [feature] Added a new oracle create_engine() flag
coerce_to_decimal=False, disables the precision
numeric handling which can add lots of overhead
by converting all numeric values to
Decimal.  [ticket:2399]

14 years ago- add OrderingList class and other functions to sphinx documentation
Mike Bayer [Sun, 12 Feb 2012 23:30:42 +0000 (18:30 -0500)] 
- add OrderingList class and other functions to sphinx documentation
[ticket:2391]

14 years ago- [feature] Added the ability to query for
Mike Bayer [Sun, 12 Feb 2012 23:25:19 +0000 (18:25 -0500)] 
- [feature] Added the ability to query for
Table-bound column names when using
query(sometable).filter_by(colname=value).
[ticket:2400]

14 years ago- [feature] Added support for the "isolation_level"
Mike Bayer [Sun, 12 Feb 2012 23:07:41 +0000 (18:07 -0500)] 
- [feature] Added support for the "isolation_level"
parameter to all MySQL dialects.  Thanks
to mu_mind for the patch here. [ticket:2394]
- add documentation examples for mysql, postgresql
- pep8ing

14 years ago- [bug] Index will raise when arguments passed
Mike Bayer [Sun, 12 Feb 2012 22:47:36 +0000 (17:47 -0500)] 
- [bug] Index will raise when arguments passed
cannot be interpreted as columns or expressions.
Will warn when Index is created
with no columns at all.  [ticket:2380]

14 years ago- [bug] Fixed bug whereby if a method name
Mike Bayer [Sun, 12 Feb 2012 22:28:20 +0000 (17:28 -0500)] 
- [bug] Fixed bug whereby if a method name
conflicted with a column name, a
TypeError would be raised when the mapper
tried to inspect the __get__() method
on the method object.  [ticket:2352]

14 years ago- [bug] Fixed bug in new "autoload_replace" flag
Mike Bayer [Sun, 12 Feb 2012 22:14:34 +0000 (17:14 -0500)] 
- [bug] Fixed bug in new "autoload_replace" flag
which would fail to preserve the primary
key constraint of the reflected table.
[ticket:2402]

14 years ago- Added missing compilation support for
Mike Bayer [Sun, 12 Feb 2012 22:10:50 +0000 (17:10 -0500)] 
- Added missing compilation support for
LONG [ticket:2401]
- broke out oracle tests for types that only require dialect

14 years ago- add a context manager availble via Engine.begin()
Mike Bayer [Sun, 12 Feb 2012 21:43:26 +0000 (16:43 -0500)] 
- add a context manager availble via Engine.begin()
- add a test suite for all the Engine/Connection/TLEngine transaction/begin
helpers/context managers
- update docs

14 years ago- figured out again why deannotate must clone()
Mike Bayer [Sun, 12 Feb 2012 01:33:56 +0000 (20:33 -0500)] 
- figured out again why deannotate must clone()
- got everything working.  just need to update
error strings

14 years agomany fixes but still can't get heuristics to work as well as what's existing,
Mike Bayer [Sat, 11 Feb 2012 20:43:05 +0000 (15:43 -0500)] 
many fixes but still can't get heuristics to work as well as what's existing,
tests still failing

14 years agodocument identity_map
Mike Bayer [Sat, 11 Feb 2012 15:52:00 +0000 (10:52 -0500)] 
document identity_map

14 years agotweak for correlated subqueries here, seems to work for test_eager_relations:Correlat...
Mike Bayer [Fri, 10 Feb 2012 22:59:06 +0000 (17:59 -0500)] 
tweak for correlated subqueries here, seems to work for test_eager_relations:CorrelatedSubqueryTest but need some more testing here

14 years ago- move properties to use the new create_joins
Mike Bayer [Fri, 10 Feb 2012 22:50:15 +0000 (17:50 -0500)] 
- move properties to use the new create_joins
- fix up subquery eager loading