]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
16 years ago- Allowed pickling of PropertyOption objects constructed with
Mike Bayer [Sun, 26 Apr 2009 21:57:18 +0000 (21:57 +0000)] 
- Allowed pickling of PropertyOption objects constructed with
instrumented descriptors; previously, pickle errors would occur
when pickling an object which was loaded with a descriptor-based
option, such as query.options(eagerload(MyClass.foo)).

16 years agoModified query_cls on DynamicAttribteImpl to accept a full mixin version of the Appen...
Michael Trier [Sat, 25 Apr 2009 15:35:52 +0000 (15:35 +0000)] 
Modified query_cls on DynamicAttribteImpl to accept a full mixin version of the AppenderQuery.

16 years agowe work with sphinx 0.6.1 now
Mike Bayer [Sat, 25 Apr 2009 15:13:30 +0000 (15:13 +0000)] 
we work with sphinx 0.6.1 now

16 years agoQuery.update() and Query.delete() should turn off eagerloads. Fixes #1378.
Ants Aasma [Mon, 20 Apr 2009 15:00:41 +0000 (15:00 +0000)] 
Query.update() and Query.delete() should turn off eagerloads. Fixes #1378.

16 years agoFixed adding of deferred or othe column properties to a declarative class.
Michael Trier [Sat, 18 Apr 2009 15:35:07 +0000 (15:35 +0000)] 
Fixed adding of deferred or othe column properties to a declarative class.

16 years agoRemoved allow_column_override documentation. Fixes #1381.
Michael Trier [Sat, 18 Apr 2009 01:21:38 +0000 (01:21 +0000)] 
Removed allow_column_override documentation. Fixes #1381.

16 years agoAdded copy and __copy__ methods to the OrderedDict. Fixes #1377.
Michael Trier [Mon, 13 Apr 2009 04:25:41 +0000 (04:25 +0000)] 
Added copy and __copy__ methods to the OrderedDict. Fixes #1377.

16 years agoCleaned up the deprecation problems with the examples.
Michael Trier [Mon, 13 Apr 2009 03:23:19 +0000 (03:23 +0000)] 
Cleaned up the deprecation problems with the examples.

16 years agoCorrected the sqlite float type so that it properly gets reflected as a SLFloat type...
Michael Trier [Mon, 13 Apr 2009 03:05:03 +0000 (03:05 +0000)] 
Corrected the sqlite float type so that it properly gets reflected as a SLFloat type. Fixes #1273.

16 years agoAdded in MSSQL reserved words list. Fixes #1310
Michael Trier [Sun, 12 Apr 2009 02:12:41 +0000 (02:12 +0000)] 
Added in MSSQL reserved words list. Fixes #1310

16 years agoAdded multi part schema name support. Closes #594 and #1341.
Michael Trier [Sat, 11 Apr 2009 21:36:45 +0000 (21:36 +0000)] 
Added multi part schema name support. Closes #594 and #1341.

16 years ago- Fixed a unit of work issue whereby the foreign
Mike Bayer [Sat, 11 Apr 2009 20:20:38 +0000 (20:20 +0000)] 
- Fixed a unit of work issue whereby the foreign
key attribute on an item contained within a collection
owned by an object being deleted would not be set to
None if the relation() was self-referential. [ticket:1376]

16 years agoCorrected duplication of serializer docs. Fixes #1375.
Michael Trier [Thu, 9 Apr 2009 22:57:16 +0000 (22:57 +0000)] 
Corrected duplication of serializer docs. Fixes #1375.

16 years ago- Fixed documentation for session weak_identity_map -
Mike Bayer [Thu, 9 Apr 2009 21:47:49 +0000 (21:47 +0000)] 
- Fixed documentation for session weak_identity_map -
the default value is True, indicating a weak
referencing map in use.

16 years agotest multi-level eager load without the limiting subquery
Mike Bayer [Wed, 8 Apr 2009 04:14:16 +0000 (04:14 +0000)] 
test multi-level eager load without the limiting subquery

16 years ago- Fixed the evaluator not being able to evaluate IS NULL clauses.
Ants Aasma [Mon, 6 Apr 2009 07:03:13 +0000 (07:03 +0000)] 
- Fixed the evaluator not being able to evaluate IS NULL clauses.
- Added evaluator tests to orm/alltests.py

16 years agodisabling triggers for Mysql since it requires SUPER privs
Mike Bayer [Sun, 5 Apr 2009 02:29:45 +0000 (02:29 +0000)] 
disabling triggers for Mysql since it requires SUPER privs

16 years agoAdded indexed to the list of reserved keywords (added in 3.6.4). Fixes #1358.
Michael Trier [Sat, 4 Apr 2009 02:54:09 +0000 (02:54 +0000)] 
Added indexed to the list of reserved keywords (added in 3.6.4). Fixes #1358.

16 years agoAdded Oracle examples showing how to use named parameters with a TNS. Fixes #1361.
Michael Trier [Sat, 4 Apr 2009 02:42:42 +0000 (02:42 +0000)] 
Added Oracle examples showing how to use named parameters with a TNS. Fixes #1361.

16 years agoCorrected examples in ORM tutorial to specify actual exception being thrown. Fixes...
Michael Trier [Sat, 4 Apr 2009 02:39:23 +0000 (02:39 +0000)] 
Corrected examples in ORM tutorial to specify actual exception being thrown. Fixes 1365.

16 years agoCorrected doc notations that suppressed some non-SQL output. Fixes #1366.
Michael Trier [Sat, 4 Apr 2009 00:48:26 +0000 (00:48 +0000)] 
Corrected doc notations that suppressed some non-SQL output. Fixes #1366.

16 years agoExplicit String length
Jason Kirtland [Fri, 3 Apr 2009 19:43:10 +0000 (19:43 +0000)] 
Explicit String length

16 years agoadd defaults to alltests
Mike Bayer [Fri, 3 Apr 2009 19:37:56 +0000 (19:37 +0000)] 
add defaults to alltests

16 years ago- Fixed bug in relation(), introduced in 0.5.3,
Mike Bayer [Thu, 2 Apr 2009 14:53:28 +0000 (14:53 +0000)] 
- Fixed bug in relation(), introduced in 0.5.3,
whereby a self referential relation
from a base class to a joined-table subclass would
not configure correctly.

16 years agoLots of fixes to the code examples to specify imports explicitly.
Michael Trier [Tue, 31 Mar 2009 22:31:08 +0000 (22:31 +0000)] 
Lots of fixes to the code examples to specify imports explicitly.

Explicit imports make it easier for users to understand the examples.
Additionally a lot of the examples were fixed to work with the changes in the
0.5.x code base. One small correction to the Case expression.  Thanks a bunch
to Adam Lowry! Fixes #717.

16 years ago- Fixed another location where autoflush was interfering
Mike Bayer [Tue, 31 Mar 2009 14:57:19 +0000 (14:57 +0000)] 
- Fixed another location where autoflush was interfering
with session.merge().  autoflush is disabled completely
for the duration of merge() now. [ticket:1360]

16 years agoextract() is now dialect-sensitive and supports SQLite and others.
Jason Kirtland [Mon, 30 Mar 2009 20:41:48 +0000 (20:41 +0000)] 
extract() is now dialect-sensitive and supports SQLite and others.

16 years agoremove needless print stuff
Mike Bayer [Mon, 30 Mar 2009 15:38:00 +0000 (15:38 +0000)] 
remove needless print stuff

16 years ago- Lazy loader will not use get() if the "lazy load"
Mike Bayer [Sun, 29 Mar 2009 21:21:10 +0000 (21:21 +0000)] 
- Lazy loader will not use get() if the "lazy load"
SQL clause matches the clause used by get(), but
contains some parameters hardcoded.  Previously
the lazy strategy would fail with the get().  Ideally
get() would be used with the hardcoded parameters
but this would require further development.
[ticket:1357]

16 years ago- coverage dumps out separate reports for individual packages
Mike Bayer [Sun, 29 Mar 2009 20:23:05 +0000 (20:23 +0000)] 
- coverage dumps out separate reports for individual packages
- other coverage tips

16 years ago- added a section on using aliased() with a subquery
Mike Bayer [Sun, 29 Mar 2009 18:39:54 +0000 (18:39 +0000)] 
- added a section on using aliased() with a subquery
- doctests needed huge number of +NORMALIZE_WHITESPACE not needed before for some reason

16 years agoCorrected docstring for class_mapper. It does not accept an object. Fixes #1316.
Michael Trier [Sun, 29 Mar 2009 04:29:50 +0000 (04:29 +0000)] 
Corrected docstring for class_mapper. It does not accept an object. Fixes #1316.

16 years agoModified information_schema change to keep it backwards compatible.
Michael Trier [Sun, 29 Mar 2009 02:08:22 +0000 (02:08 +0000)] 
Modified information_schema change to keep it backwards compatible.

16 years agofix crappity
Mike Bayer [Fri, 27 Mar 2009 21:42:41 +0000 (21:42 +0000)] 
fix crappity

16 years ago- Fixed __repr__() and other _get_colspec() methods on
Mike Bayer [Fri, 27 Mar 2009 21:41:36 +0000 (21:41 +0000)] 
- Fixed __repr__() and other _get_colspec() methods on
ForeignKey constructed from __clause_element__() style
construct (i.e. declarative columns).  [ticket:1353]

16 years agoCorrected problem with information schema not working with binary collation on mssql...
Michael Trier [Fri, 27 Mar 2009 21:27:34 +0000 (21:27 +0000)] 
Corrected problem with information schema not working with binary collation on mssql. Fixes #1343.

16 years ago- Fixed the "set collection" function on "dynamic" relations
Mike Bayer [Fri, 27 Mar 2009 19:54:10 +0000 (19:54 +0000)] 
- Fixed the "set collection" function on "dynamic" relations
to initiate events correctly.  Previously a collection
could only be assigned to a pending parent instance,
otherwise modified events would not be fired correctly.
Set collection is now compatible with merge(),
fixes [ticket:1352].

16 years agomore tests rel_0_5_3
Mike Bayer [Tue, 24 Mar 2009 01:22:38 +0000 (01:22 +0000)] 
more tests

16 years ago - Fixed bug in dynamic_loader() where append/remove events
Mike Bayer [Tue, 24 Mar 2009 01:19:45 +0000 (01:19 +0000)] 
- Fixed bug in dynamic_loader() where append/remove events
      after construction time were not being propagated to the
      UOW to pick up on flush(). [ticket:1347]

16 years agoadd collections module to API ref for completeness. links to the mapper documentation
Mike Bayer [Sat, 21 Mar 2009 18:03:47 +0000 (18:03 +0000)] 
add collections module to API ref for completeness.  links to the mapper documentation
which is less wordy.

16 years ago- An alias() of a select() will convert to a "scalar subquery"
Mike Bayer [Sat, 21 Mar 2009 16:12:37 +0000 (16:12 +0000)] 
- An alias() of a select() will convert to a "scalar subquery"
when used in an unambiguously scalar context, i.e. it's used
in a comparison operation.  This applies to
the ORM when using query.subquery() as well.

16 years ago - Fixed SQLite reflection methods so that non-present
Mike Bayer [Tue, 17 Mar 2009 15:09:49 +0000 (15:09 +0000)] 
- Fixed SQLite reflection methods so that non-present
      cursor.description, which triggers an auto-cursor
      close, will be detected so that no results doesn't
      fail on recent versions of pysqlite which raise
      an error when fetchone() called with no rows present.

16 years ago- Query.join() can now construct multiple FROM clauses, if
Mike Bayer [Sun, 15 Mar 2009 03:02:42 +0000 (03:02 +0000)] 
- Query.join() can now construct multiple FROM clauses, if
needed.  Such as, query(A, B).join(A.x).join(B.y)
might say SELECT A.*, B.* FROM A JOIN X, B JOIN Y.
Eager loading can also tack its joins onto those
multiple FROM clauses.  [ticket:1337]

16 years ago - Fixed bug where column_prefix wasn't being checked before
Mike Bayer [Wed, 11 Mar 2009 21:45:57 +0000 (21:45 +0000)] 
- Fixed bug where column_prefix wasn't being checked before
      not mapping an attribute that already had class-level
      name present.

16 years agofix formatting to match unit tests
Mike Bayer [Wed, 11 Mar 2009 05:48:02 +0000 (05:48 +0000)] 
fix formatting to match unit tests

16 years agoadd schema to entity method
Jonathan Ellis [Mon, 9 Mar 2009 21:24:43 +0000 (21:24 +0000)] 
add schema to entity method

16 years ago- a forward and complementing backwards reference which are both
Mike Bayer [Mon, 9 Mar 2009 01:20:29 +0000 (01:20 +0000)] 
- a forward and complementing backwards reference which are both
of the same direction, i.e. ONETOMANY or MANYTOONE,
is now detected, and an error message is raised.
Saves crazy CircularDependencyErrors later on.

16 years agotake 2
Mike Bayer [Sun, 8 Mar 2009 19:40:12 +0000 (19:40 +0000)] 
take 2

16 years agoattempt to exlude sqlite 3.5.9 and below, for buildbot failure. not clear which...
Mike Bayer [Sun, 8 Mar 2009 19:29:56 +0000 (19:29 +0000)] 
attempt to exlude sqlite 3.5.9 and below, for buildbot failure.  not clear which version of sqlite fixes this particular issue

16 years ago- Query.group_by() properly takes into account aliasing applied
Mike Bayer [Sun, 8 Mar 2009 19:06:12 +0000 (19:06 +0000)] 
- Query.group_by() properly takes into account aliasing applied
to the FROM clause, such as with select_from(), using
with_polymorphic(), or using from_self().

16 years agosome buildbot fixes
Mike Bayer [Sun, 8 Mar 2009 02:35:46 +0000 (02:35 +0000)] 
some buildbot fixes

16 years ago- updated builders for latest sphinx tip
Mike Bayer [Mon, 2 Mar 2009 00:01:09 +0000 (00:01 +0000)] 
- updated builders for latest sphinx tip
- applied patch from [ticket:1321]

16 years ago- The "objects" argument to session.flush() is deprecated.
Mike Bayer [Sun, 1 Mar 2009 23:53:58 +0000 (23:53 +0000)] 
- The "objects" argument to session.flush() is deprecated.
State which represents the linkage between a parent and
child object does not support "flushed" status on
one side of the link and not the other, so supporting
this operation leads to misleading results.
[ticket:1315]

16 years ago- Added PGUuid and PGBit types to
Mike Bayer [Sun, 1 Mar 2009 20:24:02 +0000 (20:24 +0000)] 
- Added PGUuid and PGBit types to
sqlalchemy.databases.postgres. [ticket:1327]

- Refection of unknown PG types won't crash when those
types are specified within a domain.  [ticket:1327]

- executemany() in conjunction with INSERT..RETURNING is documented as undefined by psycopg2.

16 years ago- Fixed adaptation of EXISTS clauses via any(), has(), etc.
Mike Bayer [Thu, 26 Feb 2009 15:16:06 +0000 (15:16 +0000)] 
- Fixed adaptation of EXISTS clauses via any(), has(), etc.
in conjunction with an aliased object on the left and
of_type() on the right.  [ticket:1325]

16 years agoFix markup glitch
Lele Gaifax [Wed, 25 Feb 2009 13:20:38 +0000 (13:20 +0000)] 
Fix markup glitch

16 years ago- pared down private and semi-private functions in the attributes package.
Mike Bayer [Mon, 23 Feb 2009 00:08:37 +0000 (00:08 +0000)] 
- pared down private and semi-private functions in the attributes package.
- simplified the process of establishment and unestablishment of
class management from a mapper perspective; class manager setup/teardown
is now symmetric (ClassManager would never be fully de-associated previously).
- class manager now unconditionally decorates __init__.  this has a slight
behavior change for an unmapped subclass of a mapped superclass, in that
InstanceState creation corresponds to that of the superclass.  This
still doesn't allow unmapped subclasses to be usable in mapper
situations, though.

16 years ago- Declarative will accept a table-bound column as a property
Mike Bayer [Sun, 22 Feb 2009 19:35:36 +0000 (19:35 +0000)] 
- Declarative will accept a table-bound column as a property
when used in conjunction with __table__, if the column is already
present in __table__.  The column will be remapped to the given
key the same way as when added to the mapper() properties dict.

16 years ago- Query won't fail with weakref error when a non-mapper/class
Mike Bayer [Fri, 20 Feb 2009 15:45:25 +0000 (15:45 +0000)] 
- Query won't fail with weakref error when a non-mapper/class
instrumented descriptor is passed, raises
"Invalid column expession".

16 years ago- Declarative locates the "inherits" class using a search
Mike Bayer [Thu, 19 Feb 2009 15:48:37 +0000 (15:48 +0000)] 
- Declarative locates the "inherits" class using a search
through __bases__, to skip over mixins that are local
to subclasses.

16 years agofix docstring indent in orm.util.with_parent
Gaëtan de Menten [Thu, 19 Feb 2009 07:40:25 +0000 (07:40 +0000)] 
fix docstring indent in orm.util.with_parent

16 years agoCorrected issue on mssql where max_identifier_length was not being respected.
Michael Trier [Wed, 18 Feb 2009 03:34:58 +0000 (03:34 +0000)] 
Corrected issue on mssql where max_identifier_length was not being respected.

16 years ago- Session.scalar() now converts raw SQL strings to text()
Mike Bayer [Tue, 17 Feb 2009 23:10:52 +0000 (23:10 +0000)] 
- Session.scalar() now converts raw SQL strings to text()
the same way Session.execute() does and accepts same
alternative **kw args.

16 years ago- Declarative will properly interpret the "foreign_keys" argument
Mike Bayer [Tue, 17 Feb 2009 22:09:30 +0000 (22:09 +0000)] 
- Declarative will properly interpret the "foreign_keys" argument
on a backref() if it's a string.

16 years ago- Fixed a recursive pickling issue in serializer, triggered
Mike Bayer [Tue, 17 Feb 2009 12:56:48 +0000 (12:56 +0000)] 
- Fixed a recursive pickling issue in serializer, triggered
  by an EXISTS or other embedded FROM construct.

16 years ago- Declarative figures out joined-table inheritance primary join
Mike Bayer [Mon, 16 Feb 2009 23:49:53 +0000 (23:49 +0000)] 
- Declarative figures out joined-table inheritance primary join
condition even if "inherits" mapper argument is given
explicitly.  Allows mixins to be used with joined table
inheritance.

16 years ago- Added an attribute helper method ``set_committed_value`` in
Mike Bayer [Sun, 15 Feb 2009 20:43:14 +0000 (20:43 +0000)] 
- Added an attribute helper method ``set_committed_value`` in
sqlalchemy.orm.attributes.  Given an object, attribute name,
and value, will set the value on the object as part of its
"committed" state, i.e. state that is understood to have
been loaded from the database.   Helps with the creation of
homegrown collection loaders and such.
- documented public attributes helper functions.

16 years ago- annotations store 'parententity' as well as 'parentmapper'
Mike Bayer [Fri, 13 Feb 2009 18:08:40 +0000 (18:08 +0000)] 
- annotations store 'parententity' as well as 'parentmapper'
- ORMAdapter filters all replacements against a non-compatible 'parentmapper' annotation
- Other filterings, like
query(A).join(A.bs).filter(B.foo=='bar'), were erroneously
adapting "B.foo" as though it were an "A".

16 years agoPreliminary support for pymssql 1.0.1 [Ticket:1318]
Rick Morrison [Fri, 13 Feb 2009 17:18:52 +0000 (17:18 +0000)] 
Preliminary support for pymssql 1.0.1 [Ticket:1318]

16 years ago- Fixed bugs in Query regarding simultaneous selection of
Mike Bayer [Fri, 13 Feb 2009 17:14:05 +0000 (17:14 +0000)] 
- Fixed bugs in Query regarding simultaneous selection of
multiple joined-table inheritance entities with common base
classes, previously the adaption applied to "e2" on
"e1 JOIN e2" would be partially applied to "e1".  Additionally,
comparisons on relations (i.e. Entity2.related==e2)
were not getting adapted correctly.

16 years agomove test by itself so that no fixture data is inserted
Mike Bayer [Thu, 12 Feb 2009 16:02:23 +0000 (16:02 +0000)] 
move test by itself so that no fixture data is inserted

16 years ago- a session.expire() on a particular collection attribute
Mike Bayer [Wed, 11 Feb 2009 20:38:30 +0000 (20:38 +0000)] 
- a session.expire() on a particular collection attribute
will clear any pending backref additions as well, so that
the next access correctly returns only what was present
in the database.  Presents some degree of a workaround for
[ticket:1315], although we are considering removing the
flush([objects]) feature altogether.

16 years ago- Added "post_configure_attribute" method to InstrumentationManager,
Mike Bayer [Wed, 11 Feb 2009 18:23:35 +0000 (18:23 +0000)] 
- Added "post_configure_attribute" method to InstrumentationManager,
so that the "listen_for_events.py" example works again.
[ticket:1314]

16 years agofix Query.update docstring
Gaëtan de Menten [Tue, 10 Feb 2009 11:25:25 +0000 (11:25 +0000)] 
fix Query.update docstring

16 years ago- anonymous alias names now truncate down to the max length
Mike Bayer [Tue, 10 Feb 2009 01:20:45 +0000 (01:20 +0000)] 
- anonymous alias names now truncate down to the max length
allowed by the dialect.  More significant on DBs like
Oracle with very small character limits. [ticket:1309]

16 years agoneed sizes for mysql
Mike Bayer [Sat, 7 Feb 2009 22:18:40 +0000 (22:18 +0000)] 
need sizes for mysql

16 years ago- When flushing partial sets of objects using session.flush([somelist]),
Mike Bayer [Sat, 7 Feb 2009 21:57:30 +0000 (21:57 +0000)] 
- When flushing partial sets of objects using session.flush([somelist]),
pending objects which remain pending after the operation won't
inadvertently be added as persistent. [ticket:1306]

16 years ago- PG Index reflection won't fail when an index with
Mike Bayer [Tue, 3 Feb 2009 00:22:01 +0000 (00:22 +0000)] 
- PG Index reflection won't fail when an index with
multiple expressions is encountered.

16 years agofix docstring typo
Gaëtan de Menten [Mon, 2 Feb 2009 09:32:56 +0000 (09:32 +0000)] 
fix docstring typo

16 years ago- Fixed missing _label attribute on Function object, others
Mike Bayer [Sun, 1 Feb 2009 18:20:20 +0000 (18:20 +0000)] 
- Fixed missing _label attribute on Function object, others
when used in a select() with use_labels (such as when used
in an ORM column_property()).  [ticket:1302]

16 years agoAdded a few IDENTITY tests for mssql.
Michael Trier [Sat, 31 Jan 2009 21:20:04 +0000 (21:20 +0000)] 
Added a few IDENTITY tests for mssql.

16 years agodetect backref string as basestring, not str. [ticket:1301]
Mike Bayer [Fri, 30 Jan 2009 22:47:28 +0000 (22:47 +0000)] 
detect backref string as basestring, not str. [ticket:1301]

16 years agoappease older sqlite version
Mike Bayer [Thu, 29 Jan 2009 17:03:49 +0000 (17:03 +0000)] 
appease older sqlite version

16 years agofix serialize
Mike Bayer [Thu, 29 Jan 2009 17:03:04 +0000 (17:03 +0000)] 
fix serialize

16 years ago- The per-dialect cache used by TypeEngine to cache
Mike Bayer [Thu, 29 Jan 2009 16:09:14 +0000 (16:09 +0000)] 
- The per-dialect cache used by TypeEngine to cache
dialect-specific types is now a WeakKeyDictionary.
This to prevent dialect objects from
being referenced forever for an application that
creates an arbitrarily large number of engines
or dialects.   There is a small performance penalty
which will be resolved in 0.6.  [ticket:1299]

16 years ago- improvements to the "determine direction" logic of
Mike Bayer [Thu, 29 Jan 2009 06:40:29 +0000 (06:40 +0000)] 
- improvements to the "determine direction" logic of
relation() such that the direction of tricky situations
like mapper(A.join(B)) -> relation-> mapper(B) can be
determined.

16 years agosome docstring stuff
Mike Bayer [Wed, 28 Jan 2009 16:44:57 +0000 (16:44 +0000)] 
some docstring stuff

16 years agounit test fixes
Mike Bayer [Wed, 28 Jan 2009 16:00:16 +0000 (16:00 +0000)] 
unit test fixes

16 years ago- _CalculatedClause is gone
Mike Bayer [Wed, 28 Jan 2009 01:28:20 +0000 (01:28 +0000)] 
- _CalculatedClause is gone
- Function rolls the various standalone execution functionality of CC into itself,
accesses its internal state more directly
- collate just uses _BinaryExpression, don't know why it didn't do this already
- added new _Case construct, compiles directly
- the world is a happier place

16 years ago- Query now implements __clause_element__() which produces
Mike Bayer [Tue, 27 Jan 2009 01:05:20 +0000 (01:05 +0000)] 
- Query now implements __clause_element__() which produces
its selectable, which means a Query instance can be accepted
in many SQL expressions, including col.in_(query),
union(query1, query2), select([foo]).select_from(query),
etc.

- the __selectable__() interface has been replaced entirely
by __clause_element__().

16 years agofurther fixes to sphinx.sty per progress on the sphinx trunk
Mike Bayer [Sat, 24 Jan 2009 22:42:30 +0000 (22:42 +0000)] 
further fixes to sphinx.sty per progress on the sphinx trunk

16 years agocreate correct hyperlink for the pdf file
Mike Bayer [Sat, 24 Jan 2009 19:51:32 +0000 (19:51 +0000)] 
create correct hyperlink for the pdf file

16 years ago- 0.5.3
Mike Bayer [Sat, 24 Jan 2009 19:37:41 +0000 (19:37 +0000)] 
- 0.5.3
- add new directives to sphinx.sty.  pdf output is still currently busted for other reasons, however.

16 years ago- refined and clarified query.__join() for readability rel_0_5_2
Mike Bayer [Sat, 24 Jan 2009 17:29:56 +0000 (17:29 +0000)] 
- refined and clarified query.__join() for readability
- _ORMJoin() gets a new flag join_to_left to specify if
we really want to alias from the existing left side or not.  eager loading
wants this flag off in almost all cases, query.join() usually wants it on.
- query.join()/outerjoin() will now properly join an aliased()
construct to the existing left side, even if query.from_self()
or query.select_from(someselectable) has been called.
[ticket:1293]

16 years agomoved the non-expire of unloaded deferred attributes into the attributes package
Mike Bayer [Sat, 24 Jan 2009 15:43:05 +0000 (15:43 +0000)] 
moved the non-expire of unloaded deferred attributes into the attributes package

16 years ago- session.expire() and related methods will not expire() unloaded
Mike Bayer [Sat, 24 Jan 2009 00:22:49 +0000 (00:22 +0000)] 
- session.expire() and related methods will not expire() unloaded
deferred attributes.  This prevents them from being needlessly
loaded when the instance is refreshed.

16 years agoCorrection to reflection fix r5718 to handle Binary / other numeric types.
Michael Trier [Fri, 23 Jan 2009 01:45:20 +0000 (01:45 +0000)] 
Correction to reflection fix r5718 to handle Binary / other numeric types.

16 years agomssql: modified table reflection code to use only kwargs when constructing coldefs.
Rick Morrison [Fri, 23 Jan 2009 00:53:32 +0000 (00:53 +0000)] 
mssql: modified table reflection code to use only kwargs when constructing coldefs.

16 years ago- Fixed an eager loading bug whereby self-referential eager
Mike Bayer [Thu, 22 Jan 2009 18:28:27 +0000 (18:28 +0000)] 
- Fixed an eager loading bug whereby self-referential eager
loading would prevent other eager loads, self referential or not,
from joining to the parent JOIN properly.  Thanks to Alex K
for creating a great test case.

16 years ago- Adjusted the attribute instrumentation change from 0.5.1 to
Mike Bayer [Thu, 22 Jan 2009 03:55:48 +0000 (03:55 +0000)] 
- Adjusted the attribute instrumentation change from 0.5.1 to
fully establish instrumentation for subclasses where the mapper
was created after the superclass had already been fully
instrumented. [ticket:1292]