小编ian*_* P.的帖子

在SQLAlchemy中获取相关模型

我在SQLAlchemy中链接了各种模型(有很多,属于等等).有没有办法找到给定的实例相关模型?

就像是:

usersModelInstance.getRelatedTables() // This should provide an array or something with the related tables of users (orders, logins, posts, etc.).
Run Code Online (Sandbox Code Playgroud)

python sqlalchemy

4
推荐指数
1
解决办法
1565
查看次数

标签 统计

python ×1

sqlalchemy ×1