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

如何动态在运行时动态切换数据源? #15

Open
FJKJzhjw opened this issue Nov 4, 2021 · 1 comment
Open

如何动态在运行时动态切换数据源? #15

FJKJzhjw opened this issue Nov 4, 2021 · 1 comment

Comments

@FJKJzhjw
Copy link

FJKJzhjw commented Nov 4, 2021

如何动态在运行时动态切换数据源?

比如:
①我从数据库获取到某个数据源的配置,然后如何把这个数据源给到minidao,然后从给定的数据源进行操作?
②考虑到这个原因是,我现在的项目有实时获取数据源的情况,这时候需要把实时获取到数据源给到minidao,然后再进行对应数据源执行操作?

@zhangdaiscott
Copy link
Member

?数据源哪有传递的概念

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