]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
15 years ago- The functionality of result.rowcount is now disabled
Mike Bayer [Sun, 11 Apr 2010 20:37:49 +0000 (16:37 -0400)] 
- The functionality of result.rowcount is now disabled
by default, and can be re-enabled using the 'enable_rowcount'
flag with create_engine(), as well as the 'enable_rowcount'
execution context flag on a per-execute basis.  This because
cursor.rowcount requires cursor access (can't be evaluated
lazily since the result auto-closes) and also incurs an
expensive round-trip.

15 years ago- added a test for the solution in [ticket:1757].
Mike Bayer [Sun, 11 Apr 2010 19:37:20 +0000 (15:37 -0400)] 
- added a test for the solution in [ticket:1757].
- this does imply that a lot of the "test the RowProxy" tests in sql/test_query might be better off in engine/test_execute or perhaps engine/test_resultproxy

15 years agomerge branch
Gaëtan de Menten [Sun, 11 Apr 2010 18:58:37 +0000 (20:58 +0200)] 
merge branch

15 years ago- engines
Gaëtan de Menten [Sun, 11 Apr 2010 18:56:39 +0000 (20:56 +0200)] 
- engines
  - The C extension now also works with DBAPIs which use custom
    sequences as row (and not only tuples). [ticket:1757]

15 years ago- somejoin.select(fold_equivalents=True) is no longer
Mike Bayer [Sun, 11 Apr 2010 16:03:41 +0000 (12:03 -0400)] 
- somejoin.select(fold_equivalents=True) is no longer
deprecated, and will eventually be rolled into a more
comprehensive version of the feature for [ticket:1729].

15 years agomade this easier to read
Chris Withers [Fri, 9 Apr 2010 17:02:06 +0000 (18:02 +0100)] 
made this easier to read

15 years ago- fixed numeric test for pg8000, factored out decimal/float codes
Mike Bayer [Fri, 9 Apr 2010 17:01:17 +0000 (13:01 -0400)] 
- fixed numeric test for pg8000, factored out decimal/float codes

15 years agoignore egg-info directories
Chris Withers [Fri, 9 Apr 2010 15:54:08 +0000 (16:54 +0100)] 
ignore egg-info directories

15 years ago- make it exceedlingly obvious that all topological/unitofwork code is
Mike Bayer [Thu, 8 Apr 2010 01:00:16 +0000 (21:00 -0400)] 
- make it exceedlingly obvious that all topological/unitofwork code is
being rewritten, and nothing here should be consulted for any
future activity.
- underscore current topological methods as their API behavior
is changing, possibly in 0.6.1 if [ticket:1742] remains on track

15 years agofix this test for oracle
Mike Bayer [Thu, 8 Apr 2010 00:25:37 +0000 (20:25 -0400)] 
fix this test for oracle

15 years agoadd example for changing TypeEngine compilation
Mike Bayer [Wed, 7 Apr 2010 20:21:01 +0000 (16:21 -0400)] 
add example for changing TypeEngine compilation

15 years ago- Repaired missing import in psycopg2._PGNumeric type when
Mike Bayer [Wed, 7 Apr 2010 20:07:55 +0000 (16:07 -0400)] 
- Repaired missing import in psycopg2._PGNumeric type when
unknown numeric is received.

- psycopg2/pg8000 dialects now aware of REAL[], FLOAT[],
DOUBLE_PRECISION[], NUMERIC[] return types without
raising an exception.

- introducing testing.provide_metadata for all these stupid little
create/drop tests

15 years ago- ah. oursql didn't have "extra steps" here, the previous system within execution_op...
Mike Bayer [Wed, 7 Apr 2010 19:20:20 +0000 (15:20 -0400)] 
- ah.  oursql didn't have "extra steps" here, the previous system within execution_options()
used by oursql would generate a proxied connection from within the dialect.initialize() phase.  the new
clone system bypasses that.

15 years agoholy callcount batman
Mike Bayer [Wed, 7 Apr 2010 18:23:06 +0000 (14:23 -0400)] 
holy callcount batman

15 years ago- Added new 'compiled_cache' execution option. A dictionary
Mike Bayer [Wed, 7 Apr 2010 17:59:18 +0000 (13:59 -0400)] 
- Added new 'compiled_cache' execution option.  A dictionary
where Compiled objects will be cached when the Connection
compiles a clause expression into a dialect- and parameter-
specific Compiled object.  It is the user's responsibility to
manage the size of this dictionary, which will have keys
corresponding to the dialect, clause element, the column
names within the VALUES or SET clause of an INSERT or UPDATE,
as well as the "batch" mode for an INSERT or UPDATE statement.

15 years ago- Fixed bug in execution_options() feature whereby the existing
Mike Bayer [Wed, 7 Apr 2010 17:42:31 +0000 (13:42 -0400)] 
- Fixed bug in execution_options() feature whereby the existing
Transaction and other state information from the parent
connection would not be propagated to the sub-connection.

15 years agough, didn't mean to commit that :-S
Chris Withers [Wed, 7 Apr 2010 17:14:06 +0000 (18:14 +0100)] 
ugh, didn't mean to commit that :-S

15 years agomerge in tip?
Chris Withers [Wed, 7 Apr 2010 17:10:32 +0000 (18:10 +0100)] 
merge in tip?

15 years agoAdd instructions to install nose adn NB that it won't happen by magic
Chris Withers [Wed, 7 Apr 2010 17:09:21 +0000 (18:09 +0100)] 
Add instructions to install nose adn NB that it won't happen by magic

15 years ago- dict_ becomes explicit on _get_state_attr_by_column, _set_state_attr_by_column...
Mike Bayer [Wed, 7 Apr 2010 16:30:02 +0000 (12:30 -0400)] 
- dict_ becomes explicit on _get_state_attr_by_column, _set_state_attr_by_column, others,
to reduce on expensive state.dict calls.
- internal getattr(), setattr(), getcommitted() methods
on ColumnProperty, CompositeProperty, RelationshipProperty
have been underscored, signature has changed.

15 years ago- Postgresql now reflects sequence names associated with
Mike Bayer [Tue, 6 Apr 2010 22:53:51 +0000 (18:53 -0400)] 
- Postgresql now reflects sequence names associated with
SERIAL columns correctly, after the name of of the sequence
has been changed.  Thanks to Kumar McMillan for the patch.
[ticket:1071]

15 years agotest another version of the mixin here
Mike Bayer [Tue, 6 Apr 2010 16:32:51 +0000 (12:32 -0400)] 
test another version of the mixin here

15 years ago- Further reworked the "mixin" logic in declarative to
Mike Bayer [Tue, 6 Apr 2010 16:27:01 +0000 (12:27 -0400)] 
- Further reworked the "mixin" logic in declarative to
additionally allow __mapper_args__ as a @classproperty
on a mixin, such as to dynamically assign polymorphic_identity.

15 years ago- Fixed an error in expression typing which caused an endless
Mike Bayer [Tue, 6 Apr 2010 15:39:09 +0000 (11:39 -0400)] 
- Fixed an error in expression typing which caused an endless
loop for expressions with two NULL types.

15 years agobetter yet
Mike Bayer [Mon, 5 Apr 2010 17:16:29 +0000 (13:16 -0400)] 
better yet

15 years agoclarify intent and reduce lookups here
Mike Bayer [Mon, 5 Apr 2010 17:09:24 +0000 (13:09 -0400)] 
clarify intent and reduce lookups here

15 years ago- apparently [ticket:1761] was covered in tests already.
Mike Bayer [Sun, 4 Apr 2010 14:18:16 +0000 (10:18 -0400)] 
- apparently [ticket:1761] was covered in tests already.
- Usage of version_id_col on a backend that supports
cursor.rowcount for execute() but not executemany() now works
when a delete is issued (already worked for saves, since those
don't use executemany()). For a backend that doesn't support
cursor.rowcount at all, a warning is emitted the same
as with saves.  [ticket:1761]

15 years agocleanup and callcount reduction in mapper._save_obj, _delete_obj.
Mike Bayer [Sun, 4 Apr 2010 01:42:41 +0000 (21:42 -0400)] 
cleanup and callcount reduction in mapper._save_obj, _delete_obj.
includes an untested fix for [ticket:1761]

15 years ago- Now using cx_oracle output converters so that the
Mike Bayer [Sat, 3 Apr 2010 19:33:55 +0000 (15:33 -0400)] 
- Now using cx_oracle output converters so that the
DBAPI returns natively the kinds of values we prefer:
- NUMBER values with positive precision + scale convert
to cx_oracle.STRING and then to Decimal.   This
allows perfect precision for the Numeric type when
using cx_oracle.  [ticket:1759]
- STRING/FIXED_CHAR now convert to unicode natively.
SQLAlchemy's String types then don't need to
apply any kind of conversions.

15 years agodont create tables here
Mike Bayer [Sat, 3 Apr 2010 18:08:45 +0000 (14:08 -0400)] 
dont create tables here

15 years agocorrect changelog
Mike Bayer [Sat, 3 Apr 2010 15:09:58 +0000 (11:09 -0400)] 
correct changelog

15 years agobranch merge
Mike Bayer [Sat, 3 Apr 2010 15:00:19 +0000 (11:00 -0400)] 
branch merge

15 years ago- the Numeric type raises an *enormous* warning when expected
Mike Bayer [Sat, 3 Apr 2010 14:58:13 +0000 (10:58 -0400)] 
- the Numeric type raises an *enormous* warning when expected
to convert floats to Decimal from a DBAPI that returns floats.
This includes SQLite, Oracle, Sybase, MS-SQL.
[ticket:1759]

15 years agoadd FunctionElement example
Mike Bayer [Fri, 2 Apr 2010 21:45:10 +0000 (17:45 -0400)] 
add FunctionElement example

15 years ago- The ORM will set the docstring of all generated descriptors
Mike Bayer [Fri, 2 Apr 2010 21:22:16 +0000 (17:22 -0400)] 
- The ORM will set the docstring of all generated descriptors
to None by default.  This can be overridden using 'doc'
(or if using Sphinx, attribute docstrings work too).

- Added kw argument 'doc' to all mapper property callables
as well as Column().  Will assemble the string 'doc' as
the '__doc__' attribute on the descriptor.

15 years agobranch merge
Mike Bayer [Fri, 2 Apr 2010 20:27:59 +0000 (16:27 -0400)] 
branch merge

15 years agoremove erronrous link to "addresses"
Mike Bayer [Fri, 2 Apr 2010 20:15:17 +0000 (16:15 -0400)] 
remove erronrous link to "addresses"

15 years ago... also when changing the row dynamically
Gaëtan de Menten [Fri, 2 Apr 2010 18:34:02 +0000 (20:34 +0200)] 
... also when changing the row dynamically

15 years ago- made the C version of RowProxy accept any sequence for the row, instead of
Gaëtan de Menten [Fri, 2 Apr 2010 18:29:37 +0000 (20:29 +0200)] 
- made the C version of RowProxy accept any sequence for the row, instead of
  only tuples

15 years ago- Updated attribute_shard.py example to use a more robust
Mike Bayer [Fri, 2 Apr 2010 17:10:55 +0000 (13:10 -0400)] 
- Updated attribute_shard.py example to use a more robust
method of searching a Query for binary expressions which
compare columns against literal values.

15 years ago- Declarative will raise an informative error message
Mike Bayer [Fri, 2 Apr 2010 16:42:54 +0000 (12:42 -0400)] 
- Declarative will raise an informative error message
if a non-mapped class attribute is referenced in the
string-based relationship() arguments.

15 years ago- id(obj) is no longer used internally within topological.py,
Mike Bayer [Thu, 1 Apr 2010 16:45:51 +0000 (12:45 -0400)] 
- id(obj) is no longer used internally within topological.py,
as the sorting functions now require hashable objects
only.  [ticket:1756]

15 years ago- 'cycle' is a stack here - needs to be a list.
Mike Bayer [Wed, 31 Mar 2010 17:52:57 +0000 (13:52 -0400)] 
- 'cycle' is a stack here - needs to be a list.

15 years ago- Restored some bind-labeling logic from 0.5 which ensures
Mike Bayer [Wed, 31 Mar 2010 17:01:40 +0000 (13:01 -0400)] 
- Restored some bind-labeling logic from 0.5 which ensures
that tables with column names that overlap another column
of the form "<tablename>_<columnname>" won't produce
errors if column._label is used as a bind name during
an UPDATE.  Test coverage which wasn't present in 0.5
has been added.  [ticket:1755]

15 years agofix pk violation error
Mike Bayer [Tue, 30 Mar 2010 14:41:07 +0000 (10:41 -0400)] 
fix pk violation error

15 years ago- the compiler extension now allows @compiles decorators
Mike Bayer [Tue, 30 Mar 2010 14:39:36 +0000 (10:39 -0400)] 
- the compiler extension now allows @compiles decorators
on base classes that extend to child classes, @compiles
decorators on child classes that aren't broken by a
@compiles decorator on the base class.

15 years ago- Session.refresh() now does an equivalent expire()
Mike Bayer [Mon, 29 Mar 2010 21:56:02 +0000 (17:56 -0400)] 
- Session.refresh() now does an equivalent expire()
on the given instance first, so that the "refresh-expire"
cascade is propagated.   Previously, refresh() was
not affected in any way by the presence of "refresh-expire"
cascade.   This is a change in behavior versus that
of 0.6beta2, where the "lockmode" flag passed to refresh()
would cause a version check to occur.  Since the instance
is first expired, refresh() always upgrades the object
to the most recent version.

- The 'refresh-expire' cascade, when reaching a pending object,
will expunge the object if the cascade also includes
"delete-orphan", or will simply detach it otherwise.
[ticket:1754]

15 years agobranch merge
Mike Bayer [Sun, 28 Mar 2010 20:41:58 +0000 (16:41 -0400)] 
branch merge

15 years agotag merge
Mike Bayer [Sun, 28 Mar 2010 20:41:30 +0000 (16:41 -0400)] 
tag merge

15 years ago- A collection lazy load will switch off default
Mike Bayer [Sun, 28 Mar 2010 20:41:10 +0000 (16:41 -0400)] 
- A collection lazy load will switch off default
eagerloading on the reverse many-to-one side, since
that loading is by definition unnecessary.  [ticket:1495]

15 years agospacing
Mike Bayer [Sun, 28 Mar 2010 17:37:08 +0000 (13:37 -0400)] 
spacing

15 years agoAdded tag rel_0_6beta3 for changeset 0e6d10806a49bbac5276ae271cc23218138cac08
Mike Bayer [Sun, 28 Mar 2010 17:19:09 +0000 (13:19 -0400)] 
Added tag rel_0_6beta3 for changeset 0e6d10806a49bbac5276ae271cc23218138cac08

15 years agoadd doc for shard rel_0_6beta3
Mike Bayer [Sun, 28 Mar 2010 17:17:26 +0000 (13:17 -0400)] 
add doc for shard

15 years ago- The sqlalchemy.orm.shard module now becomes an extension,
Mike Bayer [Sun, 28 Mar 2010 17:12:38 +0000 (13:12 -0400)] 
- The sqlalchemy.orm.shard module now becomes an extension,
sqlalchemy.ext.horizontal_shard.   The old import
works with a deprecation warning.

15 years agofix some examples
Mike Bayer [Sun, 28 Mar 2010 16:22:40 +0000 (12:22 -0400)] 
fix some examples

15 years agodocumentation updates
Mike Bayer [Sun, 28 Mar 2010 15:20:22 +0000 (11:20 -0400)] 
documentation updates

15 years agothis is a rewrite from the old sybase module with almost nothing
Mike Bayer [Sat, 27 Mar 2010 23:13:24 +0000 (19:13 -0400)] 
this is a rewrite from the old sybase module with almost nothing
remaining from the original, setting primary copyright

15 years agoformatting
Mike Bayer [Sat, 27 Mar 2010 22:46:33 +0000 (18:46 -0400)] 
formatting

15 years agocomment out test that relies on dictionary ordering for now
Mike Bayer [Sat, 27 Mar 2010 22:15:05 +0000 (18:15 -0400)] 
comment out test that relies on dictionary ordering for now

15 years ago- No longer guessing that TINYINT(1) should be BOOLEAN
Mike Bayer [Sat, 27 Mar 2010 21:27:28 +0000 (17:27 -0400)] 
- No longer guessing that TINYINT(1) should be BOOLEAN
when reflecting - TINYINT(1) is returned.  Use Boolean/
BOOLEAN in table definition to get boolean conversion
behavior.  [ticket:1752]

15 years ago- Added with_hint() method to Query() construct. This calls
Mike Bayer [Sat, 27 Mar 2010 21:18:53 +0000 (17:18 -0400)] 
- Added with_hint() method to Query() construct.  This calls
directly down to select().with_hint() and also accepts
entities as well as tables and aliases.  See with_hint() in the
SQL section below. [ticket:921]
- Added with_hint() method to select() construct.  Specify
a table/alias, hint text, and optional dialect name, and
"hints" will be rendered in the appropriate place in the
statement.  Works for Oracle, Sybase, MySQL.  [ticket:921]

15 years ago- 0.6beta3 version
Mike Bayer [Sat, 27 Mar 2010 19:20:03 +0000 (15:20 -0400)] 
- 0.6beta3 version
- remove redundant orderinglist docs, use just module docs
- add warning for primary keys/unique colummns, [ticket:1669]

15 years agothis test is too db specific and is covered by dialect tests
Mike Bayer [Sat, 27 Mar 2010 14:51:03 +0000 (10:51 -0400)] 
this test is too db specific and is covered by dialect tests

15 years ago- relationships and columns with foreign keys aren't
Mike Bayer [Sat, 27 Mar 2010 03:14:16 +0000 (23:14 -0400)] 
- relationships and columns with foreign keys aren't
allowed on declarative mixins, sorry.  [ticket:1751]

15 years agomerged with mainline tip
Brad Allen [Fri, 26 Mar 2010 20:57:01 +0000 (14:57 -0600)] 
merged with mainline tip

15 years agomssql+mxodbc should use executedirect for all selects and execute for insert/update...
Mike Bayer [Fri, 26 Mar 2010 20:47:53 +0000 (14:47 -0600)] 
mssql+mxodbc should use executedirect for all selects and execute for insert/update/delete. To support this, an is_crud property has been added to the DefaultExecutionContext. The behavior is forcable either way per execution using execution_options(native_odbc_parameters=True|False). Some tests have been added to demonstrate usage. (patch by zzzeek committed by bradallen)

15 years ago- Using @classdecorator and similar on mixins to define
Mike Bayer [Fri, 26 Mar 2010 19:16:00 +0000 (15:16 -0400)] 
- Using @classdecorator and similar on mixins to define
__tablename__, __table_args__, etc. now works if
the method references attributes on the ultimate
subclass. [ticket:1749]

15 years agoclean up sqlite version detection stuff
Mike Bayer [Fri, 26 Mar 2010 17:48:13 +0000 (13:48 -0400)] 
clean up sqlite version detection stuff

15 years agoclarify cascade docstring, [ticket:1716]
Mike Bayer [Fri, 26 Mar 2010 17:09:17 +0000 (13:09 -0400)] 
clarify cascade docstring, [ticket:1716]

15 years agofix typo
Mike Bayer [Fri, 26 Mar 2010 16:54:13 +0000 (12:54 -0400)] 
fix typo

15 years agoadd some callcounts with cextensions, [ticket:1723]
Mike Bayer [Fri, 26 Mar 2010 16:47:01 +0000 (12:47 -0400)] 
add some callcounts with cextensions, [ticket:1723]

15 years agoclarify this test
Mike Bayer [Fri, 26 Mar 2010 16:18:21 +0000 (12:18 -0400)] 
clarify this test

15 years ago- the TIME and TIMESTAMP types are now availble from the
Mike Bayer [Fri, 26 Mar 2010 16:03:54 +0000 (12:03 -0400)] 
- the TIME and TIMESTAMP types are now availble from the
postgresql dialect directly, which add the PG-specific
argument 'precision' to both.   'precision' and
'timezone' are correctly reflected for both TIME and
TIMEZONE types. [ticket:997]

15 years agoone additional oracle fix
Mike Bayer [Fri, 26 Mar 2010 15:15:25 +0000 (11:15 -0400)] 
one additional oracle fix

15 years ago- The Oracle dialect will issue VARCHAR type definitions
Mike Bayer [Thu, 25 Mar 2010 22:26:11 +0000 (22:26 +0000)] 
- The Oracle dialect will issue VARCHAR type definitions
using character counts, i.e. VARCHAR2(50 CHAR), so that
the column is sized in terms of characters and not bytes.
Column reflection of character types will also use
ALL_TAB_COLUMNS.CHAR_LENGTH instead of
ALL_TAB_COLUMNS.DATA_LENGTH.  Both of these behaviors take
effect when the server version is 9 or higher - for
version 8, the old behaviors are used.  [ticket:1744]

15 years ago- Using a mixin won't break if the mixin implements an
Mike Bayer [Thu, 25 Mar 2010 21:25:32 +0000 (17:25 -0400)] 
- Using a mixin won't break if the mixin implements an
unpredictable __getattribute__(), i.e. Zope interfaces.
[ticket:1746]

15 years ago- The psycopg2 dialect will log NOTICE messages via the
Mike Bayer [Thu, 25 Mar 2010 21:02:50 +0000 (17:02 -0400)] 
- The psycopg2 dialect will log NOTICE messages via the
"sqlalchemy.dialects.postgresql" logger name.
[ticket:877]

15 years agoadd an exclusion for boolean col expressions
Mike Bayer [Thu, 25 Mar 2010 14:50:55 +0000 (10:50 -0400)] 
add an exclusion for boolean col expressions

15 years agothis is what I meant to do here but this should be improved
Mike Bayer [Thu, 25 Mar 2010 04:40:33 +0000 (00:40 -0400)] 
this is what I meant to do here but this should be improved

15 years agohelp test with an order by
Mike Bayer [Thu, 25 Mar 2010 04:36:17 +0000 (00:36 -0400)] 
help test with an order by

15 years agomerge tip
Mike Bayer [Thu, 25 Mar 2010 04:01:19 +0000 (00:01 -0400)] 
merge tip

15 years ago- fix some final pathing stuff, we weren't getting all the loads in the
Mike Bayer [Thu, 25 Mar 2010 03:51:49 +0000 (23:51 -0400)] 
- fix some final pathing stuff, we weren't getting all the loads in the
inheritance examples, now its improved !
- final doc pass

15 years agothis is needed for correct pathing, however some tests now fail. need tests for...
Mike Bayer [Thu, 25 Mar 2010 00:46:14 +0000 (20:46 -0400)] 
this is needed for correct pathing, however some tests now fail.  need tests for this

15 years ago- converted all lazy=True|False|None to 'select'|'joined'|'noload'
Mike Bayer [Wed, 24 Mar 2010 23:19:03 +0000 (19:19 -0400)] 
- converted all lazy=True|False|None to 'select'|'joined'|'noload'
- converted all eager to joined in examples
- fixed beaker/advanced.py to reference RelationshipCache

15 years ago- To accomodate the fact that there are now two kinds of eager
Mike Bayer [Wed, 24 Mar 2010 23:11:01 +0000 (19:11 -0400)] 
- To accomodate the fact that there are now two kinds of eager
loading available, the new names for eagerload() and
eagerload_all() are joinedload() and joinedload_all().  The
old names will remain as synonyms for the foreseeable future.

- The "lazy" flag on the relationship() function now accepts
a string argument for all kinds of loading: "select", "joined",
"subquery", "noload" and "dynamic", where the default is now
"select".  The old values of True/
False/None still retain their usual meanings and will remain
as synonyms for the foreseeable future.

- Added documentation to tutorial,mapper doc, api docs
for subqueryload, subqueryload_all, and other options.

15 years ago- made final refinements to the feature and we are 100% go on subquery loading.
Mike Bayer [Wed, 24 Mar 2010 21:54:52 +0000 (17:54 -0400)] 
- made final refinements to the feature and we are 100% go on subquery loading.
- Query.join(Cls.propname, from_joinpoint=True) will check more
carefully that "Cls" is compatible with the current joinpoint,
and act the same way as Query.join("propname", from_joinpoint=True)
in that regard.

15 years agoadd a test I'm surprised we didn't have
Mike Bayer [Wed, 24 Mar 2010 20:18:01 +0000 (16:18 -0400)] 
add a test I'm surprised we didn't have

15 years ago- removed need for _subq_aliasing workaround
Mike Bayer [Wed, 24 Mar 2010 17:55:07 +0000 (13:55 -0400)] 
- removed need for _subq_aliasing workaround
- removed cruft
- all tests pass, now ready for API adjustments ('eagerload'->'joinedload'), docs

15 years agoeverything everything passes on this one. still want to get rid of that hack tho.
Mike Bayer [Wed, 24 Mar 2010 17:19:34 +0000 (13:19 -0400)] 
everything everything passes on this one.  still want to get rid of that hack tho.

15 years agothis version works with *all* the polymorphic scenarios by putting the subquery into
Mike Bayer [Wed, 24 Mar 2010 16:46:58 +0000 (12:46 -0400)] 
this version works with *all* the polymorphic scenarios by putting the subquery into
an aliased(), so that it can be controlled.  self ref breaks now.  will move the
joining out to use orm.join().

15 years ago- Query.join() will detect if the end result will be
Mike Bayer [Wed, 24 Mar 2010 16:15:42 +0000 (12:15 -0400)] 
- Query.join() will detect if the end result will be
"FROM A JOIN A", and will raise an error if so.

15 years ago- Fixed bug introduced in 0.6beta2 where column labels would
Mike Bayer [Wed, 24 Mar 2010 00:41:40 +0000 (20:41 -0400)] 
- Fixed bug introduced in 0.6beta2 where column labels would
render inside of column expressions already assigned a label.
[ticket:1747]

15 years agothis one is unbelievable
Mike Bayer [Wed, 24 Mar 2010 00:25:06 +0000 (20:25 -0400)] 
this one is unbelievable

15 years agogetting inheritance to work. some complex cases may have to fail for the time being.
Mike Bayer [Wed, 24 Mar 2010 00:23:01 +0000 (20:23 -0400)] 
getting inheritance to work.  some complex cases may have to fail for the time being.

15 years ago- added add_columns() to Query - pending deprecates add_column()
Mike Bayer [Tue, 23 Mar 2010 22:53:42 +0000 (18:53 -0400)] 
- added add_columns() to Query - pending deprecates add_column()
- refined subquery strategy to use more public Query API

15 years agothis version actually works for all existing tests plus simple self-referential.
Mike Bayer [Tue, 23 Mar 2010 22:33:31 +0000 (18:33 -0400)] 
this version actually works for all existing tests plus simple self-referential.
I don't like how difficult it was to get Query() to do it, however.

15 years agomerge tip
Mike Bayer [Tue, 23 Mar 2010 19:01:21 +0000 (15:01 -0400)] 
merge tip

15 years ago- Fixed bug in Query whereby the usage of aliased() constructs
Mike Bayer [Tue, 23 Mar 2010 18:54:26 +0000 (14:54 -0400)] 
- Fixed bug in Query whereby the usage of aliased() constructs
would fail if the underlying table (but not the actual alias)
were referenced inside the subquery generated by
q.from_self() or q.select_from().

15 years ago- order by secondary works
Mike Bayer [Tue, 23 Mar 2010 18:02:22 +0000 (14:02 -0400)] 
- order by secondary works
- self referential is killing it, however

15 years agoadding tests, all the features present in joined eager loading
Mike Bayer [Tue, 23 Mar 2010 16:11:20 +0000 (12:11 -0400)] 
adding tests, all the features present in joined eager loading