Skip to content

SqlInterpreter help you interpreting the .sql file to sample code or markdown doc.

Notifications You must be signed in to change notification settings

woostundy/SqlInterpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQLInterpreter

SQLInterpreter 输入.sql文件或者数据库连接,输出数据库文档或者模板代码

目前支持的输出结果:

  • Python 实体模板代码
  • Markdown 数据库文档
  • Word 数据库文档
  • HTML 数据库文档

目前支持的输入类型:

  • .sql 文件
  • sql数据库连接

目前支持的数据库类型:

  • MySQL
  • MS SQL SERVER

咋用:

python interpreter.py -f sample.sql python interpreter.py -c user:pwd@host/sample_db -t table_name

更多参数详情见 python interpreter.py -h

样例效果

Markdown Markdown Doc

Python Entity Python Entity

About

SqlInterpreter help you interpreting the .sql file to sample code or markdown doc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages