📜  将 sqlalchemy.util._collections 转换为字符串列表 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:00.992000             🧑  作者: Mango

代码示例1
query = session.query(Region.name).all()

query = map(lambda t: t[0], query)
query = list(query)

print(query)