]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
16 years ago- Using the same ForeignKey object repeatedly
Mike Bayer [Wed, 3 Dec 2008 14:09:34 +0000 (14:09 +0000)] 
- Using the same ForeignKey object repeatedly
raises an error instead of silently failing
later. [ticket:1238]

16 years ago- Fixed bug introduced in 0.5rc4 involving eager
Mike Bayer [Wed, 3 Dec 2008 06:23:55 +0000 (06:23 +0000)] 
- Fixed bug introduced in 0.5rc4 involving eager
loading not functioning for properties which were
added to a mapper post-compile using
add_property() or equivalent.

16 years agoModified the docstring for Session.add() with lots of help.
Michael Trier [Wed, 3 Dec 2008 04:52:55 +0000 (04:52 +0000)] 
Modified the docstring for Session.add() with lots of help.

16 years agomade Session.merge cascades not trigger autoflush
Ants Aasma [Tue, 2 Dec 2008 19:14:15 +0000 (19:14 +0000)] 
made Session.merge cascades not trigger autoflush

16 years ago- Improved mapper() check for non-class classes.
Mike Bayer [Mon, 1 Dec 2008 22:09:15 +0000 (22:09 +0000)] 
- Improved mapper() check for non-class classes.
[ticket:1236]

16 years agopropagate docstrings for column/fk collections
Mike Bayer [Mon, 1 Dec 2008 05:04:55 +0000 (05:04 +0000)] 
propagate docstrings for column/fk collections

16 years ago- fixed "double iter()" call causing bus errors
Mike Bayer [Thu, 27 Nov 2008 15:59:34 +0000 (15:59 +0000)] 
- fixed "double iter()" call causing bus errors
in shard API, removed errant result.close()
left over from the 0.4 version. [ticket:1099]
[ticket:1228]

16 years agoRefactored the entity setup code in Query so that it is not duplicated in several...
Michael Trier [Wed, 26 Nov 2008 19:44:04 +0000 (19:44 +0000)] 
Refactored the entity setup code in Query so that it is not duplicated in several places.

16 years agoA few more order_by statements added to the tests in order to please msql when using...
Michael Trier [Wed, 26 Nov 2008 19:43:59 +0000 (19:43 +0000)] 
A few more order_by statements added to the tests in order to please msql when using offsets.

16 years ago- Duplicate items in a list-based collection will
Mike Bayer [Tue, 25 Nov 2008 04:43:04 +0000 (04:43 +0000)] 
- Duplicate items in a list-based collection will
be maintained when issuing INSERTs to
a "secondary" table in a many-to-many relation.
Assuming the m2m table has a unique or primary key
constraint on it, this will raise the expected
constraint violation instead of silently
dropping the duplicate entries. Note that the
old behavior remains for a one-to-many relation
since collection entries in that case
don't result in INSERT statements and SQLA doesn't
manually police collections. [ticket:1232]

16 years agodeprecated CompositeProperty 'comparator' which is now
Mike Bayer [Mon, 24 Nov 2008 01:44:08 +0000 (01:44 +0000)] 
deprecated CompositeProperty 'comparator' which is now
named 'comparator_factory'.

16 years agoone more select_table...
Mike Bayer [Mon, 24 Nov 2008 01:21:08 +0000 (01:21 +0000)] 
one more select_table...

16 years ago- comparator_factory is accepted by all MapperProperty constructors. [ticket:1149]
Mike Bayer [Mon, 24 Nov 2008 01:14:32 +0000 (01:14 +0000)] 
- comparator_factory is accepted by all MapperProperty constructors. [ticket:1149]
- added other unit tests as per [ticket:1149]
- rewrote most of the "joined table inheritance" documentation section, removed badly out of
date "polymorphic_fetch" and "select_table" arguments.
- "select_table" raises a deprecation warning.  converted unit tests to not use it.
- removed all references to "ORDER BY table.oid" from mapping docs.
- renamed PropertyLoader to RelationProperty.  Old symbol remains.
- renamed ColumnProperty.ColumnComparator to ColumnProperty.Comparator.  Old symbol remains.

16 years ago- Extra checks added to ensure explicit
Mike Bayer [Sat, 22 Nov 2008 20:37:16 +0000 (20:37 +0000)] 
- Extra checks added to ensure explicit
primaryjoin/secondaryjoin are ClauseElement
instances, to prevent more confusing errors later
on.

16 years ago- Tickets [ticket:1200].
Mike Bayer [Sat, 22 Nov 2008 19:22:42 +0000 (19:22 +0000)] 
- Tickets [ticket:1200].

- Added note about create_session() defaults.

- Added section about metadata.reflect().

- Updated `TypeDecorator` section.

- Rewrote the "threadlocal" strategy section of
the docs due to recent confusion over this
feature.

- ordered the init arguments in the docs for sessionmaker().

- other edits

16 years agoprevent extra nested li items from becoming tiny
Mike Bayer [Sat, 22 Nov 2008 17:46:03 +0000 (17:46 +0000)] 
prevent extra nested li items from becoming tiny

16 years ago- Fixed the import weirdness in sqlalchemy.sql
Mike Bayer [Sat, 22 Nov 2008 16:09:20 +0000 (16:09 +0000)] 
- Fixed the import weirdness in sqlalchemy.sql
to not export __names__ [ticket:1215].

16 years ago- Comparison of many-to-one relation to NULL is
Mike Bayer [Fri, 21 Nov 2008 03:49:36 +0000 (03:49 +0000)] 
- Comparison of many-to-one relation to NULL is
properly converted to IS NOT NULL based on not_().

16 years ago- Added NotImplementedError for params() method
Mike Bayer [Fri, 21 Nov 2008 01:21:00 +0000 (01:21 +0000)] 
- Added NotImplementedError for params() method
on Insert/Update/Delete constructs.  These items
currently don't support this functionality, which
also would be a little misleading compared to
values().

16 years ago- the "passive" flag on session.is_modified()
Mike Bayer [Tue, 18 Nov 2008 16:24:00 +0000 (16:24 +0000)] 
- the "passive" flag on session.is_modified()
is correctly propagated to the attribute manager.

16 years agor5281 knocked down callcounts in 2.5..
Mike Bayer [Mon, 17 Nov 2008 02:02:42 +0000 (02:02 +0000)] 
r5281 knocked down callcounts in 2.5..

16 years ago- Query.select_from(), from_statement() ensure
Mike Bayer [Sun, 16 Nov 2008 19:33:26 +0000 (19:33 +0000)] 
- Query.select_from(), from_statement() ensure
that the given argument is a FromClause,
or Text/Select/Union, respectively.

- Query.add_column() can accept FromClause objects
in the same manner as session.query() can.

16 years ago- bump, this may become 0.5.0
Mike Bayer [Fri, 14 Nov 2008 22:11:05 +0000 (22:11 +0000)] 
- bump, this may become 0.5.0
- Calling alias.execute() in conjunction with
server_side_cursors won't raise AttributeError.

16 years agonotes on tuning rel_0_5rc4
Mike Bayer [Fri, 14 Nov 2008 21:36:15 +0000 (21:36 +0000)] 
notes on tuning

16 years ago- switched session.save() to session.add() throughout declarative test
Mike Bayer [Fri, 14 Nov 2008 18:57:24 +0000 (18:57 +0000)] 
- switched session.save() to session.add() throughout declarative test
- Fixed PendingDeprecationWarning involving order_by
parameter on relation(). [ticket:1226]
- Unit tests still filter pending deprecation warnings but have a commented-out
line to temporarily disable this behavior.  Tests need to be fully converted
before we can turn this on.

16 years agoPulled out values test that uses boolean evaluation in the SELECT in order to appropr...
Michael Trier [Fri, 14 Nov 2008 03:57:07 +0000 (03:57 +0000)] 
Pulled out values test that uses boolean evaluation in the SELECT in order to appropriately flag it as not supported on mssql. I sure hope I didn't jack things up for other dialects. Cleaned up a comment and removed some commented pdb statements.

16 years agoFixed a problem with the casting of a zero length type to a varchar. It now correctly...
Michael Trier [Fri, 14 Nov 2008 03:57:04 +0000 (03:57 +0000)] 
Fixed a problem with the casting of a zero length type to a varchar. It now correctly adjusts the CAST accordingly.

16 years agoFixed up a lot of missing order_by statements in the tests when using offset. A lot...
Michael Trier [Fri, 14 Nov 2008 03:57:00 +0000 (03:57 +0000)] 
Fixed up a lot of missing order_by statements in the tests when using offset. A lot of dialects don't really require order_by although you'll get unpredictable results. mssql does require order_by with an offset, so this fixes problems with that dialect.

16 years agoThe str(query) output is also correct on the mssql dialect.
Michael Trier [Fri, 14 Nov 2008 03:56:55 +0000 (03:56 +0000)] 
The str(query) output is also correct on the mssql dialect.

16 years ago- Rearranged the `load_dialect_impl()` method in
Mike Bayer [Thu, 13 Nov 2008 20:38:56 +0000 (20:38 +0000)] 
- Rearranged the `load_dialect_impl()` method in
`TypeDecorator` such that it will take effect
even if the user-defined `TypeDecorator` uses
another `TypeDecorator` as its impl.

16 years ago- Can now use a custom "inherit_condition" in
Mike Bayer [Wed, 12 Nov 2008 15:43:17 +0000 (15:43 +0000)] 
- Can now use a custom "inherit_condition" in
__mapper_args__ when using declarative.

16 years agoCorrected mssql schema named subqueries from not properly aliasing the columns. Fixes...
Michael Trier [Wed, 12 Nov 2008 05:36:45 +0000 (05:36 +0000)] 
Corrected mssql schema named subqueries from not properly aliasing the columns. Fixes #973.

16 years agoDoing my part-time editorial duties. Normalized session references and fixed lots...
Michael Trier [Wed, 12 Nov 2008 03:05:13 +0000 (03:05 +0000)] 
Doing my part-time editorial duties. Normalized session references and fixed lots of small spelling and grammar issues.

16 years agoremove errant pdb.set_trace()
Mike Bayer [Tue, 11 Nov 2008 02:04:56 +0000 (02:04 +0000)] 
remove errant pdb.set_trace()

16 years ago- Adjustments to the enhanced garbage collection on
Mike Bayer [Tue, 11 Nov 2008 01:52:42 +0000 (01:52 +0000)] 
- Adjustments to the enhanced garbage collection on
InstanceState to better guard against errors due
to lost state.

16 years agoQuashed import sets deprecation warning on 2.6.. not wild about this but it seems...
Jason Kirtland [Mon, 10 Nov 2008 22:56:22 +0000 (22:56 +0000)] 
Quashed import sets deprecation warning on 2.6.. not wild about this but it seems like it will be ok. [ticket:1209]

16 years ago- converted some more attributes to @memoized_property in expressions
Mike Bayer [Mon, 10 Nov 2008 20:22:18 +0000 (20:22 +0000)] 
- converted some more attributes to @memoized_property in expressions
- flattened an unnecessary KeyError in identity.py
- memoized the default list of mapper properties queried in MapperEntity.setup_context

16 years ago- Restored "active rowcount" fetch before ResultProxy
Mike Bayer [Mon, 10 Nov 2008 16:42:35 +0000 (16:42 +0000)] 
- Restored "active rowcount" fetch before ResultProxy
autocloses the cursor.  This was removed in 0.5rc3.

16 years ago- Restored NotImplementedError on Cls.relation.in_()
Mike Bayer [Mon, 10 Nov 2008 16:18:57 +0000 (16:18 +0000)] 
- Restored NotImplementedError on Cls.relation.in_()
[ticket:1140] [ticket:1221]

16 years agoHandle the mssql port properly. If we're using the SQL Server driver then use the...
Michael Trier [Mon, 10 Nov 2008 04:29:53 +0000 (04:29 +0000)] 
Handle the mssql port properly. If we're using the SQL Server driver then use the correct host,port syntax, otherwise use the Port= parameter in the connection string. Fixes #1192.

16 years agoFlagged another transaction test as causing mssql to hang. Need to look into these.
Michael Trier [Mon, 10 Nov 2008 01:11:46 +0000 (01:11 +0000)] 
Flagged another transaction test as causing mssql to hang. Need to look into these.

16 years agoCorrected issue with decimal e notation that broke regular decimal tests for mssql.
Michael Trier [Mon, 10 Nov 2008 01:11:43 +0000 (01:11 +0000)] 
Corrected issue with decimal e notation that broke regular decimal tests for mssql.

16 years agoIf there's a zero offset with mssql just ignore it.
Michael Trier [Mon, 10 Nov 2008 01:11:40 +0000 (01:11 +0000)] 
If there's a zero offset with mssql just ignore it.

16 years agoCorrected problem in access dialect that was still referring to the old column.foreig...
Michael Trier [Mon, 10 Nov 2008 01:11:37 +0000 (01:11 +0000)] 
Corrected problem in access dialect that was still referring to the old column.foreign_key property.

16 years agoflattened _get_from_objects() into a descriptor/class-bound attribute
Mike Bayer [Sun, 9 Nov 2008 21:34:59 +0000 (21:34 +0000)] 
flattened _get_from_objects() into a descriptor/class-bound attribute

16 years ago- Removed the 'properties' attribute of the
Mike Bayer [Sun, 9 Nov 2008 19:32:25 +0000 (19:32 +0000)] 
- Removed the 'properties' attribute of the
Connection object, Connection.info should be used.
- Method consoliation in Connection, ExecutionContext

16 years ago- Query.count() has been enhanced to do the "right
Mike Bayer [Sun, 9 Nov 2008 16:06:05 +0000 (16:06 +0000)] 
- Query.count() has been enhanced to do the "right
thing" in a wider variety of cases. It can now
count multiple-entity queries, as well as
column-based queries. Note that this means if you
say query(A, B).count() without any joining
criterion, it's going to count the cartesian
product of A*B. Any query which is against
column-based entities will automatically issue
"SELECT count(1) FROM (SELECT...)" so that the
real rowcount is returned, meaning a query such as
query(func.count(A.name)).count() will return a value of
one, since that query would return one row.

16 years agoCorrected problems with Access dialect. Corrected issue with reflection due to missin...
Michael Trier [Sun, 9 Nov 2008 05:21:38 +0000 (05:21 +0000)] 
Corrected problems with Access dialect. Corrected issue with reflection due to missing Currency type. Functions didn't return the value. JOINS must be specified as LEFT OUTER JOIN or INNER JOIN. Fixes #1017.

16 years agoGlobal propigate -> propagate change to correct spelling. Additionally found a couple...
Michael Trier [Sun, 9 Nov 2008 01:53:08 +0000 (01:53 +0000)] 
Global propigate -> propagate change to correct spelling. Additionally found a couple of insures that should be ensure.

16 years agoCorrected problems with reflection on mssql when dealing with schemas. Fixes #1217.
Michael Trier [Sun, 9 Nov 2008 01:27:25 +0000 (01:27 +0000)] 
Corrected problems with reflection on mssql when dealing with schemas. Fixes #1217.

16 years agousage docstring for pool listener
Mike Bayer [Sat, 8 Nov 2008 23:26:55 +0000 (23:26 +0000)] 
usage docstring for pool listener

16 years ago- Query.count() and Query.get() return a more informative
Mike Bayer [Sat, 8 Nov 2008 21:18:11 +0000 (21:18 +0000)] 
- Query.count() and Query.get() return a more informative
error message when executed against multiple entities.
[ticket:1220]

16 years agoremoved setup_instance() from the public API
Mike Bayer [Sat, 8 Nov 2008 21:00:15 +0000 (21:00 +0000)] 
removed setup_instance() from the public API
of ClassManager, and made it a private method on
_ClassInstrumentationAdapter.  ClassManager's approach
handles the default task with fewer function calls which chops off
a few hundred calls from the pertinent profile tests.

16 years agoFixed E notation problem in mssql. Closes #1216.
Michael Trier [Sat, 8 Nov 2008 06:37:45 +0000 (06:37 +0000)] 
Fixed E notation problem in mssql. Closes #1216.

16 years agoCorrected a lot of mssql limit / offset issues. Also ensured that mssql uses the...
Michael Trier [Sat, 8 Nov 2008 04:43:35 +0000 (04:43 +0000)] 
Corrected a lot of mssql limit / offset issues. Also ensured that mssql uses the IN / NOT IN syntax when using a binary expression with a subquery.

16 years agodocstring updates
Mike Bayer [Fri, 7 Nov 2008 22:36:21 +0000 (22:36 +0000)] 
docstring updates

16 years agodocstring fix
Mike Bayer [Fri, 7 Nov 2008 18:56:42 +0000 (18:56 +0000)] 
docstring fix

16 years ago- added serializer docs to plugins.txt rel_0_5rc3
Mike Bayer [Fri, 7 Nov 2008 18:43:39 +0000 (18:43 +0000)] 
- added serializer docs to plugins.txt
- CHANGES formatting

16 years ago- Fixed bug preventing declarative-bound "column" objects
Mike Bayer [Fri, 7 Nov 2008 18:20:53 +0000 (18:20 +0000)] 
- Fixed bug preventing declarative-bound "column" objects
from being used in column_mapped_collection().  [ticket:1174]

16 years agoformatting
Mike Bayer [Fri, 7 Nov 2008 18:03:37 +0000 (18:03 +0000)] 
formatting

16 years ago- zoomark adjustments
Mike Bayer [Fri, 7 Nov 2008 17:45:19 +0000 (17:45 +0000)] 
- zoomark adjustments
- changelog has separate category for 'features'

16 years agoavoid some often unnecessary method calls. i think we might have squeezed all we...
Mike Bayer [Fri, 7 Nov 2008 17:08:23 +0000 (17:08 +0000)] 
avoid some often unnecessary method calls.   i think we might have squeezed all we're going to squeeze out of compiler at this point.

16 years agothe @memoized_property fairy pays a visit
Mike Bayer [Fri, 7 Nov 2008 16:41:54 +0000 (16:41 +0000)] 
the @memoized_property fairy pays a visit

16 years ago- Repaired the table.tometadata() method so that a passed-in
Mike Bayer [Fri, 7 Nov 2008 16:19:24 +0000 (16:19 +0000)] 
- Repaired the table.tometadata() method so that a passed-in
schema argument is propigated to ForeignKey constructs.

16 years ago- Fixed bug in Query involving order_by() in conjunction with
Mike Bayer [Thu, 6 Nov 2008 23:07:47 +0000 (23:07 +0000)] 
- Fixed bug in Query involving order_by() in conjunction with
multiple aliases of the same class (will add tests in
[ticket:1218])
- Added a new extension sqlalchemy.ext.serializer.  Provides
Serializer/Deserializer "classes" which mirror Pickle/Unpickle,
as well as dumps() and loads().  This serializer implements
an "external object" pickler which keeps key context-sensitive
objects, including engines, sessions, metadata, Tables/Columns,
and mappers, outside of the pickle stream, and can later
restore the pickle using any engine/metadata/session provider.
This is used not for pickling regular object instances, which are
pickleable without any special logic, but for pickling expression
objects and full Query objects, such that all mapper/engine/session
dependencies can be restored at unpickle time.

16 years agoadd two new hooks for bulk operations to SessionExtension:
Martijn Faassen [Thu, 6 Nov 2008 06:12:11 +0000 (06:12 +0000)] 
add two new hooks for bulk operations to SessionExtension:

* after_bulk_delete

* after_bulk_update

16 years ago- Fixed bug in composite types which prevented a primary-key
Mike Bayer [Wed, 5 Nov 2008 21:15:19 +0000 (21:15 +0000)] 
- Fixed bug in composite types which prevented a primary-key
composite type from being mutated [ticket:1213].

16 years ago- Dialects can now generate label names of adjustable length.
Mike Bayer [Wed, 5 Nov 2008 20:50:48 +0000 (20:50 +0000)] 
- Dialects can now generate label names of adjustable length.
Pass in the argument "label_length=<value>" to create_engine()
to adjust how many characters max will be present in dynamically
generated column labels, i.e. "somecolumn AS somelabel".  Any
value less than 6 will result in a label of minimal size,
consiting of an underscore and a numeric counter.
The compiler uses the value of dialect.max_identifier_length
as a default. [ticket:1211]
- removed ANON_NAME regular expression, using string patterns now
- _generated_label() unicode subclass is used to indicate generated names
which are subject to truncation

16 years agoTiny fix to test setup logic.
Jason Kirtland [Tue, 4 Nov 2008 18:29:33 +0000 (18:29 +0000)] 
Tiny fix to test setup logic.

16 years ago- Simplified the check for ResultProxy "autoclose without results"
Mike Bayer [Tue, 4 Nov 2008 17:28:26 +0000 (17:28 +0000)] 
- Simplified the check for ResultProxy "autoclose without results"
to be based solely on presence of cursor.description.
All the regexp-based guessing about statements returning rows
has been removed [ticket:1212].

16 years ago- added 'EXPLAIN' to the list of 'returns rows', but this
Mike Bayer [Tue, 4 Nov 2008 13:18:13 +0000 (13:18 +0000)] 
- added 'EXPLAIN' to the list of 'returns rows', but this
issue will be addressed more fully by [ticket:1212].

16 years agoAdded a label for pg.
Jason Kirtland [Mon, 3 Nov 2008 04:41:06 +0000 (04:41 +0000)] 
Added a label for pg.

16 years ago- Fixed bug when using multiple query.join() with an aliased-bound
Mike Bayer [Mon, 3 Nov 2008 03:37:44 +0000 (03:37 +0000)] 
- Fixed bug when using multiple query.join() with an aliased-bound
descriptor which would lose the left alias.

16 years ago- Improved the behavior of aliased() objects such that they more
Mike Bayer [Mon, 3 Nov 2008 02:52:30 +0000 (02:52 +0000)] 
- Improved the behavior of aliased() objects such that they more
accurately adapt the expressions generated, which helps
particularly with self-referential comparisons. [ticket:1171]

- Fixed bug involving primaryjoin/secondaryjoin conditions
constructed from class-bound attributes (as often occurs
when using declarative), which later would be inappropriately
aliased by Query, particularly with the various EXISTS
based comparators.

16 years agoupdate call count
Mike Bayer [Mon, 3 Nov 2008 01:47:30 +0000 (01:47 +0000)] 
update call count

16 years agoAdded tests for Query.scalar(), .value() [ticket:1163]
Jason Kirtland [Mon, 3 Nov 2008 00:09:33 +0000 (00:09 +0000)] 
Added tests for Query.scalar(), .value() [ticket:1163]

16 years agoFixed assoc proxy examples [ticket:1191]
Jason Kirtland [Sun, 2 Nov 2008 22:50:12 +0000 (22:50 +0000)] 
Fixed assoc proxy examples [ticket:1191]

16 years agorevert r5220 inadvertently committed to trunk
Mike Bayer [Sun, 2 Nov 2008 22:11:40 +0000 (22:11 +0000)] 
revert r5220 inadvertently committed to trunk

16 years agoprogress so far
Mike Bayer [Sun, 2 Nov 2008 22:08:24 +0000 (22:08 +0000)] 
progress so far

16 years agoCorrected some ordering issues with tests.
Michael Trier [Sun, 2 Nov 2008 17:42:53 +0000 (17:42 +0000)] 
Corrected some ordering issues with tests.

16 years ago- mapper naming/organization cleanup
Mike Bayer [Sun, 2 Nov 2008 17:10:37 +0000 (17:10 +0000)] 
- mapper naming/organization cleanup
- gave into peer pressure and removed all __names
- inlined polymorphic_iterator()
- moved methods into categories based on configuration, inspection, persistence, row processing.
a more extreme change would be to make separate mixin classes for these or similar.

16 years agopep8 stuff
Mike Bayer [Sun, 2 Nov 2008 15:50:16 +0000 (15:50 +0000)] 
pep8 stuff

16 years ago- util.flatten_iterator() func doesn't interpret strings with
Mike Bayer [Fri, 31 Oct 2008 21:44:34 +0000 (21:44 +0000)] 
- util.flatten_iterator() func doesn't interpret strings with
__iter__() methods as iterators, such as in pypy [ticket:1077].

17 years agothe recent change to garbage collection of InstanceState meant that
Mike Bayer [Thu, 30 Oct 2008 14:40:10 +0000 (14:40 +0000)] 
the recent change to garbage collection of InstanceState meant that
the deferred lambda: created by lazy_clause would get a state with
no dict.  creates strong reference to the object now.

17 years agoAdded documentation for the MetaData.sorted_tables() method.
Michael Trier [Wed, 29 Oct 2008 17:43:06 +0000 (17:43 +0000)] 
Added documentation for the MetaData.sorted_tables() method.

17 years agoCorrected method documentation for MetaData.drop_all().
Michael Trier [Wed, 29 Oct 2008 17:31:14 +0000 (17:31 +0000)] 
Corrected method documentation for MetaData.drop_all().

17 years agoallow repr to leave stuff as unicode. I can't think of any reason for the old behavi...
Jonathan Ellis [Wed, 29 Oct 2008 00:48:33 +0000 (00:48 +0000)] 
allow repr to leave stuff as unicode.  I can't think of any reason for the old behavior except that I didn't understand unicode when I wrote it.  Not that I claim to fully understand it now.  fixes #1136

17 years agoAccept USING as a prefix or postfix modifer when reflecting keys. [ticket:1117]
Jason Kirtland [Tue, 28 Oct 2008 21:32:24 +0000 (21:32 +0000)] 
Accept USING as a prefix or postfix modifer when reflecting keys.  [ticket:1117]

17 years agoCorrects an import error when using echo_uow. Fixes #1205.
Michael Trier [Tue, 28 Oct 2008 21:10:31 +0000 (21:10 +0000)] 
Corrects an import error when using echo_uow. Fixes #1205.

17 years agofix #821
Jonathan Ellis [Tue, 28 Oct 2008 20:25:25 +0000 (20:25 +0000)] 
fix #821

17 years ago- added some abstraction to the attributes.History object
Mike Bayer [Tue, 28 Oct 2008 20:15:26 +0000 (20:15 +0000)] 
- added some abstraction to the attributes.History object
- Repaired support for "passive-deletes" on a many-to-one
relation() with "delete" cascade. [ticket:1183]

17 years agoUpdated UOWEventHandler so that it uses session.add() instead of session.save_or_upda...
Michael Trier [Tue, 28 Oct 2008 19:59:53 +0000 (19:59 +0000)] 
Updated UOWEventHandler so that it uses session.add() instead of session.save_or_update(). Fixes #1208.

17 years agoCorrected typo in Types docs.
Michael Trier [Tue, 28 Oct 2008 18:09:22 +0000 (18:09 +0000)] 
Corrected typo in Types docs.

17 years agoMysql no longer expects include_columns to be specified in lowercase. Fixes #1206.
Michael Trier [Tue, 28 Oct 2008 16:48:13 +0000 (16:48 +0000)] 
Mysql no longer expects include_columns to be specified in lowercase. Fixes #1206.

17 years agoFixed mysql FK reflection for the edge case where a Table has expicitly provided...
Jason Kirtland [Mon, 27 Oct 2008 22:56:53 +0000 (22:56 +0000)] 
Fixed mysql FK reflection for the edge case where a Table has expicitly provided a schema= that matches the connection's default schema.

17 years agor/m wildcard imports. fixes #1195
Jonathan Ellis [Mon, 27 Oct 2008 19:49:49 +0000 (19:49 +0000)] 
r/m wildcard imports.  fixes #1195

17 years ago- InstanceState object now removes circular references to
Mike Bayer [Sun, 26 Oct 2008 20:02:19 +0000 (20:02 +0000)] 
- InstanceState object now removes circular references to
itself upon disposal to keep it outside of cyclic garbage
collection.

17 years ago- moved _FigureVisitName into visitiors.VisitorType, added Visitor base class to...
Mike Bayer [Sat, 25 Oct 2008 19:44:21 +0000 (19:44 +0000)] 
- moved _FigureVisitName into visitiors.VisitorType, added Visitor base class to reduce dependencies
- implemented _generative decorator for select/update/insert/delete constructs
- other minutiae

17 years agocall drop # 2
Mike Bayer [Sat, 25 Oct 2008 18:24:13 +0000 (18:24 +0000)] 
call drop # 2

17 years agocall drop
Mike Bayer [Sat, 25 Oct 2008 18:23:46 +0000 (18:23 +0000)] 
call drop