Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

orm查询获取不到连接池 #40

Closed
Seeley-wang opened this issue Feb 4, 2020 · 6 comments
Closed

orm查询获取不到连接池 #40

Seeley-wang opened this issue Feb 4, 2020 · 6 comments
Labels
bug Something isn't working

Comments

@Seeley-wang
Copy link

image
image
image
orm查询时候获取不到Base里面的连接池

@Yurunsoft
Copy link
Member

谢谢反馈,已经修复,用最新的 dev 版本再试一下

@Seeley-wang
Copy link
Author

image
未走model的query 走的是db的query

@Yurunsoft
Copy link
Member

模型的数据库查询都是走的Db没错,这个报错是在最新dev下出现的吗?

@Seeley-wang
Copy link
Author

是的,刚进去看了下源码跟刚才提交记录里的是一样的,
image
meta 获取到的元数据打印出来好像没有注解里面的连接池吧

@Yurunsoft
Copy link
Member

是模型生成那边的问题,更新下,再重新生成下模型吧

@Seeley-wang
Copy link
Author

可以了 谢谢

@Yurunsoft Yurunsoft added the bug Something isn't working label Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants