mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-16 21:57:22 -04:00
fixed bug where Column with redefined "key" property wasnt getting
type conversion happening in the ResultProxy [ticket:207]
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
auto-foreignkey detection [ticket:151]
|
||||
- fixed bug where tables with schema names werent getting indexed in
|
||||
the MetaData object properly
|
||||
- fixed bug where Column with redefined "key" property wasnt getting
|
||||
type conversion happening in the ResultProxy [ticket:207]
|
||||
|
||||
0.2.2
|
||||
- big improvements to polymorphic inheritance behavior, enabling it
|
||||
|
||||
@@ -168,7 +168,7 @@ class ANSICompiler(sql.Compiled):
|
||||
if len(self.select_stack):
|
||||
# if we are within a visit to a Select, set up the "typemap"
|
||||
# for this column which is used to translate result set values
|
||||
self.typemap.setdefault(column.key.lower(), column.type)
|
||||
self.typemap.setdefault(column.name.lower(), column.type)
|
||||
if column.table is None or not column.table.named_with_column():
|
||||
self.strings[column] = column.name
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user