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

reorganize package relation under driver/mysql #118

Closed
Tracked by #55
drivebyer opened this issue Nov 30, 2021 · 0 comments
Closed
Tracked by #55

reorganize package relation under driver/mysql #118

drivebyer opened this issue Nov 30, 2021 · 0 comments
Assignees
Milestone

Comments

@drivebyer
Copy link
Contributor

drivebyer commented Nov 30, 2021

背景:

当前 driver/mysql 包下所有文件都在一个包里。所有功能都糅杂在一起,功能界限模糊,不利于后期维护。

目标:

sqle-mysql-package-relation

方案:

  1. 调整文件所在文件夹,并调整包名
  2. isTableExist isSchemaExist getTableSize 等方法放入 context 包。在审核阶段由 context 提供统一获取库表信息相关的操作的入口,并由自己决定是否缓存相关数据。
@drivebyer drivebyer self-assigned this Nov 30, 2021
@drivebyer drivebyer added this to the v1.2112.0 milestone Nov 30, 2021
@sjjian sjjian closed this as completed Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants