我有一个查询,如:
select_query = [text(f) for f in fields]
with engine.connect() as conn:
query = select(*select_query, MyTable.id).select_from(
table(MyTable.__tablename__) ...
除了字段(在SELECT_QUERY内)是CamelCase之外,一切都很正常.是否有任何函数或指令来传递sqlalChemy,以便CamelCase字段不会 destruct SELECT?