-
Notifications
You must be signed in to change notification settings - Fork 104
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
support two customized property for Database/通过自定义mongo的目录来支持同时挂载使用两种数据库 #60
Open
oneWalker
wants to merge
4
commits into
eggjs:master
Choose a base branch
from
oneWalker:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
support two customized property for Database
很需要这个功能,什么时候能够合并呢 |
我也不知道这个插件的维护者什么时候去进行更新; 你可以考虑下面三种方式:
比较推荐2,也可以考虑1和3. |
你的这个适配egg2 版本吗 |
代码保持了和最近这个的官方版本的一致性。 印象eggjs这几年没有什么特别重大的版本变化吧。这个兼容的修改的完成其实大概是在2019,理论上是支持的。 当然为了安全,你也可以用一些testcase进行测试。 |
oneWalker
changed the title
support two customized property for Database/支持同时挂载使用两种数据库
support two customized property for Database/通过自定义mongo的目录来支持同时挂载使用两种数据库
Nov 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
support two customized properties for Database. For example, when we want to use MySQL and Mongo in the same project
通过自定义挂载目录,让出model的目录,以支持同时挂载使用两种数据库,比如我们想要在一个数据库中同时支持SQL和MySQl两种数据库
Checklist
npm test
passes