[Sqlalchemy-tickets] Issue #4070: tuple_ returns string whereas I would expect tuple (zzzeek/sqlalc
Brought to you by:
zzzeek
From: dima-starosud <iss...@bi...> - 2017-09-05 08:56:37
|
New issue 4070: tuple_ returns string whereas I would expect tuple https://bitbucket.org/zzzeek/sqlalchemy/issues/4070/tuple_-returns-string-whereas-i-would dima-starosud: Hello team I am observing following behavior. For me it looks incorrect. I would expect `tuple_` to parse SQL result before returning to application code. ``` #!python In [22]: db.query(tuple_(1,None,tuple_('Hello', 42),3,'')).scalar() Out[22]: '(1,,"(Hello,42)",3,"")' ``` |