sqlparser安装包Python2

上传:SweetMoment 浏览: 75 推荐: 0 文件:ZIP 大小:84.67KB 上传时间:2019-01-12 11:00:20 版权申诉
在项目开发中, 涉及到对SQL语句的展示, 对于复杂的SQL语句, 特别希望能够将其格式化后展示, 因此找到了开源项目sqlparser, 官网是https://github.com/andialbrecht/sqlparse。 使用Python2安装以后可以直接使用, 测试代码: 使用python2, import sqlparse print(sqlparse.format('update t set s=(case when total > 100 then 10 when total >=10 and total100 then 8
上传资源
用户评论