【发布时间】:2017-03-31 01:36:14
【问题描述】:
在 postgresql 中我有 select col1, col2 from my_function()。我怎样才能在 sqlalchemy 核心中做到这一点?
select(func.my_function()) 将结果作为字符串给出,但我想要一个元组。
【问题讨论】:
-
它往往不能很好地与 SP 一起使用,我记得放弃了这个并运行原始命令。
标签: python sql postgresql stored-procedures sqlalchemy