summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/context.py
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2021-03-19 05:23:26 +0000
committerGerrit Code Review <gerrit@ci3.zzzcomputing.com>2021-03-19 05:23:26 +0000
commitaabb899ea5adb437b7a9ee45edf2d492ae2a5980 (patch)
treefc62aa8abd4b4ad83bf8ffd62d8a1a2424199496 /lib/sqlalchemy/orm/context.py
parentffbced86711812a5cb16038092d3e181f92a1eab (diff)
parentc1c999c01d595b74fe178d9bdbff34fd8939a283 (diff)
downloadsqlalchemy-aabb899ea5adb437b7a9ee45edf2d492ae2a5980.tar.gz
Merge "Ensure ClauseAdapter treats FunctionElement as a ColumnElement"
Diffstat (limited to 'lib/sqlalchemy/orm/context.py')
-rw-r--r--lib/sqlalchemy/orm/context.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/orm/context.py b/lib/sqlalchemy/orm/context.py
index 45ab64593..b0b8faee7 100644
--- a/lib/sqlalchemy/orm/context.py
+++ b/lib/sqlalchemy/orm/context.py
@@ -2707,7 +2707,9 @@ class _ORMColumnEntity(_ColumnEntity):
compile_state._entities.append(self)
compile_state._has_orm_entities = True
+
self.column = column
+
self._fetch_column = self._row_processor = None
self._extra_entities = (self.expr, self.column)