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

使用Engines接入PostgreSQL查询 #91

Merged
merged 2 commits into from
Mar 30, 2019
Merged

使用Engines接入PostgreSQL查询 #91

merged 2 commits into from
Mar 30, 2019

Conversation

hhyo
Copy link
Owner

@hhyo hhyo commented Mar 30, 2019

新增

  • 使用Engines接入PostgreSQL查询,支持库级授权
  • PgSQLEngine测试用例

修改

  • 整合实例资源获取的方法,获取实例库、表、模式、字段合并到一个方法

依赖变动

  • psycopg2-binary==2.7.7

@hhyo hhyo added the enhancement New feature or request label Mar 30, 2019
@codecov
Copy link

codecov bot commented Mar 30, 2019

Codecov Report

Merging #91 into master will increase coverage by 0.92%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
+ Coverage    67.5%   68.43%   +0.92%     
==========================================
  Files          60       61       +1     
  Lines        5946     6085     +139     
==========================================
+ Hits         4014     4164     +150     
+ Misses       1932     1921      -11
Impacted Files Coverage Δ
sql/urls.py 100% <ø> (ø) ⬆️
sql/models.py 95.62% <ø> (ø) ⬆️
sql/engines/mysql.py 49.17% <100%> (ø) ⬆️
sql/engines/tests.py 100% <100%> (ø) ⬆️
sql/engines/mssql.py 77.22% <100%> (ø) ⬆️
sql/engines/__init__.py 64.58% <50%> (-4.31%) ⬇️
sql/query.py 47.89% <55.55%> (-0.44%) ⬇️
sql/instance.py 31.42% <6.25%> (+4.04%) ⬆️
sql/engines/pgsql.py 87.5% <87.5%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8a09aba...44e0b59. Read the comment docs.

@hhyo hhyo requested a review from LeoQuote March 30, 2019 04:58
@hhyo hhyo merged commit 3ecd69b into master Mar 30, 2019
@hhyo hhyo deleted the pgsql branch May 6, 2019 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants