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

如何建立维护多个连接 #59

Closed
panco95 opened this issue Mar 13, 2019 · 1 comment
Closed

如何建立维护多个连接 #59

panco95 opened this issue Mar 13, 2019 · 1 comment

Comments

@panco95
Copy link

panco95 commented Mar 13, 2019

项目需要多个数据库连接

@liu21st
Copy link
Member

liu21st commented Mar 19, 2019

在数据库配置文件中定义多个连接,然后在查询的时候切换 或者在模型里面配置 具体参考5.1的开发手册

@liu21st liu21st closed this as completed Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants