]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
15 years agoGC is screwing this one up sometimes
Mike Bayer [Sun, 1 Aug 2010 22:27:57 +0000 (18:27 -0400)] 
GC is screwing this one up sometimes

15 years ago- The name ConcurrentModificationError has been
Mike Bayer [Sun, 1 Aug 2010 22:24:35 +0000 (18:24 -0400)] 
- The name ConcurrentModificationError has been
changed to StaleDataError, and descriptive
error messages have been revised to reflect
exactly what the issue is.   Both names will
remain available for the forseeable future
for schemes that may be specifying
ConcurrentModificationError in an "except:"
clause.

15 years agoreformatting /cleanup of column type docs, including [ticket:1858]
Mike Bayer [Sun, 1 Aug 2010 19:00:58 +0000 (15:00 -0400)] 
reformatting /cleanup of column type docs, including [ticket:1858]

15 years ago- Repaired the usage of merge() when used with
Mike Bayer [Sun, 1 Aug 2010 18:07:35 +0000 (14:07 -0400)] 
- Repaired the usage of merge() when used with
concrete inheriting mappers.  Such mappers frequently
have so-called "concrete" attributes, which are
subclass attributes that "disable" propagation from
the parent - these needed to allow a merge()
operation to pass through without effect.

15 years agoapply alt/ctrl t
Mike Bayer [Sun, 1 Aug 2010 17:27:12 +0000 (13:27 -0400)] 
apply alt/ctrl t

15 years agomake this point about clear_mappers
Mike Bayer [Sun, 1 Aug 2010 15:22:28 +0000 (11:22 -0400)] 
make this point about clear_mappers

15 years ago- Fixed "default schema" query to work with
Mike Bayer [Thu, 29 Jul 2010 15:17:53 +0000 (11:17 -0400)] 
- Fixed "default schema" query to work with
pymssql backend.

15 years ago- passive test fails on oracle, ensure passive test fails on sqlite as well
Mike Bayer [Wed, 28 Jul 2010 14:01:55 +0000 (10:01 -0400)] 
- passive test fails on oracle, ensure passive test fails on sqlite as well

15 years ago- The value of version_id_col can be changed
Mike Bayer [Sat, 24 Jul 2010 14:10:28 +0000 (10:10 -0400)] 
- The value of version_id_col can be changed
manually, and this will result in an UPDATE
of the row.  Versioned UPDATEs and DELETEs
now use the "committed" value of the
version_id_col in the WHERE clause and
not the pending changed value. The
version generator is also bypassed if
manual changes are present on the attribute.
[ticket:1857]
- ensure before_update/after_update called on parent
for collection change

15 years ago- Moving an o2m object from one collection to
Mike Bayer [Thu, 22 Jul 2010 05:46:41 +0000 (01:46 -0400)] 
- Moving an o2m object from one collection to
another, or vice versa changing the referenced
object by an m2o, where the foreign key is also a
member of the primary key, will now be more
carefully checked during flush if the change in
value of the foreign key on the "many" side is the
result of a change in the primary key of the "one"
side, or if the "one" is just a different object.
In one case, a cascade-capable DB would have
cascaded the value already and we need to look at
the "new" PK value to do an UPDATE, in the other we
need to continue looking at the "old". We now look
at the "old", assuming passive_updates=True,
unless we know it was a PK switch that
triggered the change. [ticket:1856]

15 years agoetc
Mike Bayer [Wed, 21 Jul 2010 21:20:41 +0000 (17:20 -0400)] 
etc

15 years agothis would help, right
Mike Bayer [Wed, 21 Jul 2010 20:51:23 +0000 (16:51 -0400)] 
this would help, right

15 years ago- The beaker_caching example has been reorgnized
Mike Bayer [Wed, 21 Jul 2010 20:19:08 +0000 (16:19 -0400)] 
- The beaker_caching example has been reorgnized
such that the Session, cache manager,
declarative_base are part of environment, and
custom cache code is portable and now within
"caching_query.py".  This allows the example to
be easier to "drop in" to existing projects.

15 years ago- add encode step to appease py3k
Mike Bayer [Wed, 21 Jul 2010 16:14:08 +0000 (12:14 -0400)] 
- add encode step to appease py3k

15 years ago- Changed the scheme used to generate truncated
Mike Bayer [Wed, 21 Jul 2010 15:33:47 +0000 (11:33 -0400)] 
- Changed the scheme used to generate truncated
"auto" index names when using the "index=True"
flag on Column.   The truncation only takes
place with the auto-generated name, not one
that is user-defined (an error would be
raised instead), and the truncation scheme
itself is now based on a fragment of an md5
hash of the identifier name, so that multiple
indexes on columns with similar names still
have unique names.  [ticket:1855]

15 years agocommit tag
Mike Bayer [Tue, 20 Jul 2010 15:55:12 +0000 (11:55 -0400)] 
commit tag

15 years agodocument the crap out of text(), Session.execute()
Mike Bayer [Tue, 20 Jul 2010 15:54:58 +0000 (11:54 -0400)] 
document the crap out of text(), Session.execute()

15 years agoAdded tag rel_0_6_3 for changeset 2bd3c795cfe39249aceb6b04ea4650a17788d9b6
Mike Bayer [Thu, 15 Jul 2010 16:44:56 +0000 (12:44 -0400)] 
Added tag rel_0_6_3 for changeset 2bd3c795cfe39249aceb6b04ea4650a17788d9b6

15 years ago- Column-entities (i.e. query(Foo.id)) copy their rel_0_6_3
Mike Bayer [Thu, 15 Jul 2010 13:59:17 +0000 (09:59 -0400)] 
- Column-entities (i.e. query(Foo.id)) copy their
state more fully when queries are derived from
themselves + a selectable (i.e. from_self(),
union(), etc.), so that join() and such have the
correct state to work from.  [ticket:1853]

- Fixed bug where Query.join() would fail if
querying a non-ORM column then joining without
an on clause when a FROM clause is already
present, now raises a checked exception the
same way it does when the clause is not
present.  [ticket:1853]

15 years ago- More tweaks to cx_oracle Decimal handling.
Mike Bayer [Wed, 14 Jul 2010 18:50:45 +0000 (14:50 -0400)] 
- More tweaks to cx_oracle Decimal handling.
"Ambiguous" numerics with no decimal place
are coerced to int at the connection handler
level.  The advantage here is that ints
come back as ints without SQLA type
objects being involved and without needless
conversion to Decimal first.

Unfortunately, some exotic subquery cases
can even see different types between
individual result rows, so the Numeric
handler, when instructed to return Decimal,
can't take full advantage of "native decimal"
mode and must run isinstance() on every value
to check if its Decimal already. Reopen of
[ticket:1840]

15 years ago- PG doc updates
Mike Bayer [Wed, 14 Jul 2010 01:30:55 +0000 (21:30 -0400)] 
- PG doc updates
- pypostgresql has 15 errors, 3 failures, this probably
puts it in the "yes" as opposed to the "partial" support
category.  [ticket:1850]

15 years ago- _extract_error_code now expects the raw DBAPI error in all cases
Mike Bayer [Wed, 14 Jul 2010 00:52:05 +0000 (20:52 -0400)] 
- _extract_error_code now expects the raw DBAPI error in all cases
for all four MySQL dialects.   has_table() passes in the "orig"
from the SQLAlchemy exception.  continuing of [ticket:1848]

15 years agorestore py2k directive that got whacked by python tidy
Mike Bayer [Wed, 14 Jul 2010 00:40:58 +0000 (20:40 -0400)] 
restore py2k directive that got whacked by python tidy

15 years ago- pull out type() ahead of time to cut down on fn calls.
Mike Bayer [Tue, 13 Jul 2010 15:55:08 +0000 (11:55 -0400)] 
- pull out type() ahead of time to cut down on fn calls.
Would replace this with set(dir(self)) but not sure if some
class schemes may have issues with dir() (also for low numbers
of args, not using the set() probably faster).

15 years ago- The _extract_error_code() method now works
Mike Bayer [Mon, 12 Jul 2010 15:15:16 +0000 (11:15 -0400)] 
- The _extract_error_code() method now works
correctly with the "mysqldb" dialect.  Previously,
the reconnect logic would fail for OperationalError
conditions, however since MySQLdb has its
own reconnect feature, there was no symptom
here unless one watched the logs.
[ticket:1848]

15 years agotidy
Mike Bayer [Sun, 11 Jul 2010 18:50:43 +0000 (14:50 -0400)] 
tidy

15 years agotest/dialect
Mike Bayer [Sun, 11 Jul 2010 18:28:21 +0000 (14:28 -0400)] 
test/dialect

15 years agotidy test/base, test/ex, test/ext
Mike Bayer [Sun, 11 Jul 2010 17:41:38 +0000 (13:41 -0400)] 
tidy test/base, test/ex, test/ext

15 years agoPython-tidy test/engine and test/aaa_profiling, 80% auto + 20% manual intervention
Mike Bayer [Sun, 11 Jul 2010 17:15:51 +0000 (13:15 -0400)] 
Python-tidy test/engine and test/aaa_profiling, 80% auto + 20% manual intervention

15 years ago- experimenting with pytidy with mods as a textmate plugin along
Mike Bayer [Sat, 10 Jul 2010 18:50:13 +0000 (14:50 -0400)] 
- experimenting with pytidy with mods as a textmate plugin along
the path to 78 chars.   eh

15 years agobiginteger
Mike Bayer [Sat, 10 Jul 2010 16:04:17 +0000 (12:04 -0400)] 
biginteger

15 years ago- more 78 chars
Mike Bayer [Sat, 10 Jul 2010 15:47:30 +0000 (11:47 -0400)] 
- more 78 chars
- BIGINT doc
- clean up docs in schema.py

15 years ago- doc fixes regarding __tablename__ mixin
Mike Bayer [Sat, 10 Jul 2010 15:09:38 +0000 (11:09 -0400)] 
- doc fixes regarding __tablename__ mixin
- 78 chars

15 years ago- added "expr" to the column descriptions accessor, this is
Mike Bayer [Thu, 8 Jul 2010 22:17:23 +0000 (18:17 -0400)] 
- added "expr" to the column descriptions accessor, this is
an expression that matches on identity the original expression
passed to the query.  In particular you can pass it into order_by()
and similar.

15 years ago- 78 chars
Mike Bayer [Thu, 8 Jul 2010 18:13:56 +0000 (14:13 -0400)] 
- 78 chars
- Added "column_descriptions" accessor to Query,
returns a list of dictionaries containing
naming/typing information about the entities
the Query will return.  Can be helpful for
building GUIs on top of ORM queries.

15 years agoadded an extra check for the correct class when __init__ is called,
Mike Bayer [Thu, 8 Jul 2010 14:50:13 +0000 (10:50 -0400)] 
added an extra check for the correct class when __init__ is called,
to fix the second half of [ticket:1846]

15 years agomerge doc fix
Mike Bayer [Thu, 8 Jul 2010 14:16:37 +0000 (10:16 -0400)] 
merge doc fix

15 years ago- Improved the check for an "unmapped class",
Mike Bayer [Thu, 8 Jul 2010 14:16:13 +0000 (10:16 -0400)] 
- Improved the check for an "unmapped class",
including the case where the superclass is mapped
but the subclass is not.  Any attempts to access
cls._sa_class_manager.mapper now raise
UnmappedClassError().  [ticket:1142]

15 years agotypo
Chris Withers [Thu, 8 Jul 2010 11:02:20 +0000 (12:02 +0100)] 
typo

15 years ago0.6.3
Mike Bayer [Wed, 7 Jul 2010 16:06:35 +0000 (12:06 -0400)] 
0.6.3

15 years ago- Removed errant many-to-many load in unitofwork
Mike Bayer [Wed, 7 Jul 2010 16:01:02 +0000 (12:01 -0400)] 
- Removed errant many-to-many load in unitofwork
which triggered unnecessarily on expired/unloaded
collections. This load now takes place only if
passive_updates is False and the parent primary
key has changed, or if passive_deletes is False
and a delete of the parent has occurred.
[ticket:1845]

15 years ago78 chars
Mike Bayer [Wed, 7 Jul 2010 14:29:50 +0000 (10:29 -0400)] 
78 chars

15 years ago78 chars
Mike Bayer [Wed, 7 Jul 2010 14:20:43 +0000 (10:20 -0400)] 
78 chars

15 years agomerge
Mike Bayer [Wed, 7 Jul 2010 00:00:39 +0000 (20:00 -0400)] 
merge

15 years ago78 chars for sybase
Mike Bayer [Wed, 7 Jul 2010 00:00:13 +0000 (20:00 -0400)] 
78 chars for sybase

15 years agoAdded tag rel_0_6_2 for changeset 7e72edc9d39966721f2731ef2dbf508ca4a03e4c
Mike Bayer [Tue, 6 Jul 2010 21:57:41 +0000 (17:57 -0400)] 
Added tag rel_0_6_2 for changeset 7e72edc9d39966721f2731ef2dbf508ca4a03e4c

15 years ago- updated obsolete docs regarding sequences, RETURNING for pg rel_0_6_2
Mike Bayer [Tue, 6 Jul 2010 21:39:20 +0000 (17:39 -0400)] 
- updated obsolete docs regarding sequences, RETURNING for pg
- 78 chars for postgresql/base.py, engine/default.py

15 years agoup the variance on these as the call counts are very low and
Mike Bayer [Tue, 6 Jul 2010 21:09:42 +0000 (17:09 -0400)] 
up the variance on these as the call counts are very low and
things wiggle around even between 2.6.4/2.6.5

15 years ago- latest distribute
Mike Bayer [Mon, 5 Jul 2010 23:54:46 +0000 (19:54 -0400)] 
- latest distribute
- added caveats to unittest README encountered with Py2.7 + current nose 0.11.3
- call counts for py2.7.   all tests pass for sqlite + mysql-python + psycopg2

15 years agoforce __doc__ to transfer over from the decorated funciton.
Mike Bayer [Mon, 5 Jul 2010 21:17:34 +0000 (17:17 -0400)] 
force __doc__ to transfer over from the decorated funciton.
2.6 does this anyway, 2.4 and 2.5 do not.

15 years agomerge
Mike Bayer [Sun, 4 Jul 2010 22:52:56 +0000 (18:52 -0400)] 
merge

15 years agosome prep for the 'viewcode' plugin, which works, though not sure if its helpful
Mike Bayer [Sun, 4 Jul 2010 22:52:34 +0000 (18:52 -0400)] 
some prep for the 'viewcode' plugin, which works, though not sure if its helpful

15 years agosome linkage
Mike Bayer [Sun, 4 Jul 2010 21:17:59 +0000 (17:17 -0400)] 
some linkage

15 years agotransfer docstrings from @classproperty to props
Mike Bayer [Sun, 4 Jul 2010 16:06:19 +0000 (12:06 -0400)] 
transfer docstrings from @classproperty to props

15 years ago- idle 78-char adjustments
Mike Bayer [Sat, 3 Jul 2010 22:55:29 +0000 (18:55 -0400)] 
- idle 78-char adjustments

15 years ago- Added support for @classproperty to provide
Mike Bayer [Sat, 3 Jul 2010 18:53:37 +0000 (14:53 -0400)] 
- Added support for @classproperty to provide
any kind of schema/mapping construct from a
declarative mixin, including columns with foreign
keys, relationships, column_property, deferred.
This solves all such issues on declarative mixins.
An error is raised if any MapperProperty subclass
is specified on a mixin without using @classproperty.
[ticket:1751] [ticket:1796] [ticket:1805]

- un-anglicized the declarative docs

15 years ago- verbiage expressing that pool_size==0 means no limit; NullPool is
Mike Bayer [Fri, 2 Jul 2010 18:16:08 +0000 (14:16 -0400)] 
- verbiage expressing that pool_size==0 means no limit; NullPool is
used to disable pooling. [ticket:1164]

15 years ago- The 'default' compiler is automatically copied over
Mike Bayer [Fri, 2 Jul 2010 18:07:42 +0000 (14:07 -0400)] 
- The 'default' compiler is automatically copied over
when overriding the compilation of a built in
clause construct, so no KeyError is raised if the
user-defined compiler is specific to certain
backends and compilation for a different backend
is invoked. [ticket:1838]

15 years ago- add typing/operator converts to Float/Numeric to get Oracle tests going again,
Mike Bayer [Fri, 2 Jul 2010 17:55:24 +0000 (13:55 -0400)] 
- add typing/operator converts to Float/Numeric to get Oracle tests going again,
as we have an unusually high level of dependence on SQLA typing now
- force oracle seqs to return integers

15 years ago- If server_version_info is outside the usual
Mike Bayer [Fri, 2 Jul 2010 16:57:15 +0000 (12:57 -0400)] 
- If server_version_info is outside the usual
range of (8, ), (9, ), (10, ), a warning is emitted
which suggests checking that the FreeTDS version
configuration is using 7.0 or 8.0, not 4.2.
[ticket:1825]

15 years agokeep ordering of columns with mixins constant
Chris Withers [Fri, 2 Jul 2010 13:57:19 +0000 (14:57 +0100)] 
keep ordering of columns with mixins constant

15 years ago- Query.join() will check for a call of the
Mike Bayer [Fri, 2 Jul 2010 00:50:57 +0000 (20:50 -0400)] 
- Query.join() will check for a call of the
form query.join(target, clause_expression),
i.e. missing the tuple, and raise an informative
error message that this is the wrong calling form.

15 years ago - Oracle's "native decimal" metadata begins to return
Mike Bayer [Thu, 1 Jul 2010 20:57:02 +0000 (16:57 -0400)] 
  - Oracle's "native decimal" metadata begins to return
    ambiguous typing information about numerics
    when columns are embedded in subqueries as well
    as when ROWNUM is consulted with subqueries, as we
    do for limit/offset.  We've added these ambiguous
    conditions to the cx_oracle "convert to Decimal()"
    handler, so that we receive numerics as Decimal
    in more cases instead of as floats.  These are
    then converted, if requested, into Integer
    or Float, or otherwise kept as the lossless
    Decimal [ticket:1840].

15 years ago- An instance which is moved to "transient", has
Mike Bayer [Wed, 30 Jun 2010 20:12:32 +0000 (16:12 -0400)] 
- An instance which is moved to "transient", has
an incomplete or missing set of primary key
attributes, and contains expired attributes, will
raise an InvalidRequestError if an expired attribute
is accessed, instead of getting a recursion overflow.

- make_transient() removes all "loader" callables from
the state being made transient, removing any
"expired" state - all unloaded attributes reset back
to undefined, None/empty on access.

15 years agoreplace all occurences of "closes the connection" "closes the transaction"
Mike Bayer [Tue, 29 Jun 2010 23:02:49 +0000 (19:02 -0400)] 
replace all occurences of "closes the connection" "closes the transaction"
with explicit verbiage regarding "returns the connection to the connection
pool", "rolls back the transaction"

15 years agoadd make_transient
Mike Bayer [Tue, 29 Jun 2010 15:24:15 +0000 (11:24 -0400)] 
add make_transient

15 years agofix oracle char length test for newer descriptors
Mike Bayer [Sun, 27 Jun 2010 17:05:05 +0000 (13:05 -0400)] 
fix oracle char length test for newer descriptors

15 years ago- Fixed bug that would prevent overridden clause
Mike Bayer [Sat, 26 Jun 2010 21:20:17 +0000 (17:20 -0400)] 
- Fixed bug that would prevent overridden clause
compilation from working for "annotated" expression
elements, which are often generated by the ORM.

15 years ago- Won't generate "CREATE TYPE" / "DROP TYPE" if
Mike Bayer [Fri, 25 Jun 2010 17:11:06 +0000 (13:11 -0400)] 
- Won't generate "CREATE TYPE" / "DROP TYPE" if
using types.Enum on a PG version prior to 8.3 -
the supports_native_enum flag is fully
honored.  [ticket:1836]

15 years agofix test
Mike Bayer [Thu, 24 Jun 2010 16:45:37 +0000 (12:45 -0400)] 
fix test

15 years ago- The argument to "ESCAPE" of a LIKE operator or similar
Mike Bayer [Thu, 24 Jun 2010 16:19:15 +0000 (12:19 -0400)] 
- The argument to "ESCAPE" of a LIKE operator or similar
is passed through render_literal_value(), which may
implement escaping of backslashes.  [ticket:1400]
- Postgresql render_literal_value() is overridden which escapes
backslashes, currently applies to the ESCAPE clause
of LIKE and similar expressions.
Ultimately this will have to detect the value of
"standard_conforming_strings" for full behavior.
[ticket:1400]
- MySQL render_literal_value() is overridden which escapes
backslashes, currently applies to the ESCAPE clause
of LIKE and similar expressions.   This behavior
is derived from detecting the value of
NO_BACKSLASH_ESCAPES.  [ticket:1400]

15 years ago- Fixed @memoized_property and @memoized_instancemethod
Mike Bayer [Sat, 19 Jun 2010 18:08:20 +0000 (14:08 -0400)] 
- Fixed @memoized_property and @memoized_instancemethod
decorators so that Sphinx documentation picks up
these attributes and methods, such as
ResultProxy.inserted_primary_key. [ticket:1830]

15 years ago- Firebird dialect adds CHAR, VARCHAR types which
Mike Bayer [Sat, 19 Jun 2010 17:51:55 +0000 (13:51 -0400)] 
- Firebird dialect adds CHAR, VARCHAR types which
accept a "charset" flag, to support Firebird
"CHARACTER SET" clause.  [ticket:1813]

15 years ago- Fixed ora-8 compatibility flags such that they
Mike Bayer [Sat, 19 Jun 2010 17:39:32 +0000 (13:39 -0400)] 
- Fixed ora-8 compatibility flags such that they
don't cache a stale value from before the first
database connection actually occurs. [ticket:1819]

15 years agofix accessors, [ticket:1816]
Mike Bayer [Sat, 19 Jun 2010 17:29:16 +0000 (13:29 -0400)] 
fix accessors, [ticket:1816]

15 years ago- a mixin class can now define a column that matches
Mike Bayer [Sat, 19 Jun 2010 17:25:37 +0000 (13:25 -0400)] 
- a mixin class can now define a column that matches
one which is present on a __table__ defined on a
subclass.  It cannot, however, define one that is
not present in the __table__, and the error message
here now works.  [ticket:1821]

15 years ago- MySQL dialect doesn't emit CAST() for MySQL version
Mike Bayer [Sat, 19 Jun 2010 17:21:19 +0000 (13:21 -0400)] 
- MySQL dialect doesn't emit CAST() for MySQL version
detected < 4.0.2.  This allows the unicode
check on connect to proceed. [ticket:1826]

15 years ago- moved "post update" functionality from _save_obj() into
Mike Bayer [Fri, 18 Jun 2010 23:12:52 +0000 (19:12 -0400)] 
- moved "post update" functionality from _save_obj() into
its own method, which also groups updates into executemanys.
[ticket:1831]

15 years ago- cleanup of new post update, changelog
Mike Bayer [Fri, 18 Jun 2010 19:42:01 +0000 (15:42 -0400)] 
- cleanup of new post update, changelog

15 years agoadd a test for the actual feature, that multiple post updates are batched
Mike Bayer [Fri, 18 Jun 2010 19:11:32 +0000 (15:11 -0400)] 
add a test for the actual feature, that multiple post updates are batched

15 years agothis one is actually doing it. removed the cruft we don't need from the old approach.
Mike Bayer [Fri, 18 Jun 2010 17:31:51 +0000 (13:31 -0400)] 
this one is actually doing it.  removed the cruft we don't need from the old approach.
not sure if one-to-many with elaborate self-refs, etc., but we appear to be
as good as we were before.

15 years agoadds some tests, refines out the m2o approach.
Mike Bayer [Fri, 18 Jun 2010 17:11:19 +0000 (13:11 -0400)] 
adds some tests, refines out the m2o approach.

15 years agothis approach seems to allow many-to-one post updates to occur as a single action...
Mike Bayer [Fri, 18 Jun 2010 15:36:35 +0000 (11:36 -0400)] 
this approach seems to allow many-to-one post updates to occur as a single action.   for one-to-many, we
have it working the old way still. as usual the huge job is the tests.   also I am not yet certain
that post updates can always be a "full mapper" operation, i.e. are never involved in per-state dependencies,
or even if the old approach supports that.

15 years ago- query.order_by() now accepts False, which cancels
Mike Bayer [Thu, 17 Jun 2010 19:53:07 +0000 (15:53 -0400)] 
- query.order_by() now accepts False, which cancels
any existing order_by() state on the Query, allowing
subsequent generative methods to be called which do
not support ORDER BY.  This is not the same as the
already existing feature of passing None, which
suppresses any existing order_by() settings, including
those configured on the mapper.  False will make it
as though order_by() was never called, while
None is an active setting.

15 years agofix import
Mike Bayer [Thu, 17 Jun 2010 18:32:32 +0000 (14:32 -0400)] 
fix import

15 years agoadd a test for query.order_by(None)
Mike Bayer [Thu, 17 Jun 2010 14:13:23 +0000 (10:13 -0400)] 
add a test for query.order_by(None)

15 years ago- Column.copy() takes along the "unique" attribute
Mike Bayer [Tue, 15 Jun 2010 21:56:17 +0000 (17:56 -0400)] 
- Column.copy() takes along the "unique" attribute
among others, fixes [ticket:1829] regarding declarative
mixins

15 years agoversion_info is the tuple
Mike Bayer [Tue, 15 Jun 2010 18:05:02 +0000 (14:05 -0400)] 
version_info is the tuple

15 years ago- Can now call make_transient() on an instance that
Mike Bayer [Tue, 15 Jun 2010 18:04:13 +0000 (14:04 -0400)] 
- Can now call make_transient() on an instance that
is referenced by parent objects via many-to-one,
without the parent's foreign key value getting
temporarily set to None - this was a function
of the "detect primary key switch" flush handler.
It now ignores objects that are no longer
in the "persistent" state, and the parent's
foreign key identifier is left unaffected.

15 years ago- hypothesize that newer pysqlites are also growing a warning log on non-unicdoe...
Mike Bayer [Tue, 15 Jun 2010 00:15:27 +0000 (20:15 -0400)] 
- hypothesize that newer pysqlites are also growing a warning log on non-unicdoe strings

15 years agofix variable name
Mike Bayer [Tue, 15 Jun 2010 00:11:02 +0000 (20:11 -0400)] 
fix variable name

15 years ago- Query.statement, Query.subquery(), etc. now transfer
Mike Bayer [Tue, 15 Jun 2010 00:07:44 +0000 (20:07 -0400)] 
- Query.statement, Query.subquery(), etc. now transfer
the values of bind parameters, i.e. those specified
by query.params(), into the resulting SQL expression.
Previously the values would not be transferred
and bind parameters would come out as None.

- Subquery-eager-loading now works with Query objects
which include params(), as well as get() Queries.

15 years ago- Modified the internals of "column annotation" such that
Mike Bayer [Mon, 14 Jun 2010 23:39:26 +0000 (19:39 -0400)] 
- Modified the internals of "column annotation" such that
a custom Column subclass can safely override
_constructor to return Column, for the purposes of
making "configurational" column classes that aren't
involved in proxying, etc.

15 years ago- Fixed bug regarding flushes on self-referential
Mike Bayer [Sun, 13 Jun 2010 20:25:26 +0000 (16:25 -0400)] 
- Fixed bug regarding flushes on self-referential
bi-directional many-to-many relationships, where
two objects made to mutually reference each other
in one flush would fail to insert a row for both
sides.  Regression from 0.5. [ticket:1824]

15 years ago- The warning emitted by the Unicode and String types
Mike Bayer [Sun, 13 Jun 2010 20:09:13 +0000 (16:09 -0400)] 
- The warning emitted by the Unicode and String types
with convert_unicode=True no longer embeds the actual
value passed.   This so that the Python warning
registry does not continue to grow in size, the warning
is emitted once as per the warning filter settings,
and large string values don't pollute the output.
[ticket:1822]

15 years ago- added documentation for Inspector [ticket:1820]
Mike Bayer [Sun, 13 Jun 2010 19:49:27 +0000 (15:49 -0400)] 
- added documentation for Inspector [ticket:1820]
- fixed "toplevel" regexp to include tokens of the form foo-bar-toplevel (i.e. multiple dashes)
- some CSS adjustment so that all API headings are in gray.

15 years ago- Inspector hits bind.connect() when invoked to ensure
Mike Bayer [Fri, 11 Jun 2010 15:38:06 +0000 (11:38 -0400)] 
- Inspector hits bind.connect() when invoked to ensure
initialize has been called.  the internal name ".conn"
is changed to ".bind", since that's what it is.

15 years agofix the enum for MySQL after native_enum added to adaption keys
Mike Bayer [Wed, 9 Jun 2010 22:27:43 +0000 (18:27 -0400)] 
fix the enum for MySQL after native_enum added to adaption keys

15 years ago- Fixed incorrect signature in do_execute() for firebird, access, error
Mike Bayer [Wed, 9 Jun 2010 15:07:57 +0000 (11:07 -0400)] 
- Fixed incorrect signature in do_execute() for firebird, access, error
introduced in 0.6.1. [ticket:1823]

15 years ago- Fixed bug in Enum type which blew away native_enum
Mike Bayer [Tue, 8 Jun 2010 23:25:15 +0000 (19:25 -0400)] 
- Fixed bug in Enum type which blew away native_enum
flag when used with TypeDecorators or other adaption
scenarios.