返回 首页

sqlalchemy query 获取已经join过的表/ 获取query所属的model


joined_list = [x.class_ for x in query._join_entities]
 model = query.column_descriptions[0]['type']


评论(0)

登录