diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-09-27 07:08:26 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-09-27 07:08:26 +0000 |
| commit | a81bd92d6ebef5053cbb6882b336c50c1134c273 (patch) | |
| tree | 6d9df595eedaa29794e7a02122f79cc3cf73b1c9 /lib/sqlalchemy/databases | |
| parent | df9c1a10b568cb89aec41fcb0c7c31a1ae75943c (diff) | |
| download | sqlalchemy-a81bd92d6ebef5053cbb6882b336c50c1134c273.tar.gz | |
- specifying joins in the from_obj argument of query.select() will
replace the main table of the query, if the table is somewhere within
the given from_obj. this makes it possible to produce custom joins and
outerjoins in queries without the main table getting added twice.
[ticket:315]
- added join_to and outerjoin_to transformative methods to SelectResults,
to build up join/outerjoin conditions based on property names. also
added select_from to explicitly set from_obj parameter.
- factored "results" arrays from the mapper test suite and into the
"tables" mapper
- added "viewonly" param to docs
Diffstat (limited to 'lib/sqlalchemy/databases')
| -rw-r--r-- | lib/sqlalchemy/databases/oracle.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/databases/oracle.py b/lib/sqlalchemy/databases/oracle.py index 5db157cbb..e6d331109 100644 --- a/lib/sqlalchemy/databases/oracle.py +++ b/lib/sqlalchemy/databases/oracle.py @@ -298,6 +298,7 @@ class OracleCompiler(ansisql.ANSICompiler): self.froms[join] = self.get_from_text(join.left) + ", " + self.get_from_text(join.right) self.wheres[join] = sql.and_(self.wheres.get(join.left, None), join.onclause) + self.strings[join] = self.froms[join] if join.isouter: # if outer join, push on the right side table as the current "outertable" |
