summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/lambdas.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/sql/lambdas.py')
-rw-r--r--lib/sqlalchemy/sql/lambdas.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/lambdas.py b/lib/sqlalchemy/sql/lambdas.py
index ddc4774db..b3f47252a 100644
--- a/lib/sqlalchemy/sql/lambdas.py
+++ b/lib/sqlalchemy/sql/lambdas.py
@@ -270,6 +270,8 @@ class LambdaElement(elements.ClauseElement):
bind = bindparam_lookup[thing.key]
if thing.expanding:
bind.expanding = True
+ bind.expand_op = thing.expand_op
+ bind.type = thing.type
return bind
if self._rec.is_sequence: