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

[ bug ] 导出的.sql文件无法在数据库中直接执行 #228

Closed
MisKatherine opened this issue May 28, 2019 · 7 comments
Closed

[ bug ] 导出的.sql文件无法在数据库中直接执行 #228

MisKatherine opened this issue May 28, 2019 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@MisKatherine
Copy link

重现步骤

期待结果和实际结果

期待结果:
导出的.sql文件可以在数据库中直接执行。
1.导出的.sql文件表名是Table,可不可以替换为查询的表名。
2.导出的.sql文件列不应该用单引号'',否则直接执行.sql文件报错。
实际结果:
导出的.sql文件无法在数据库中直接执行

截图

image

错误日志

image

版本信息

应用版本/分支:1.6.0

部署方式:手工部署

@LeoQuote LeoQuote changed the title [ bug ] [ bug ] 导出的.sql文件无法在数据库中直接执行 May 28, 2019
@LeoQuote
Copy link
Collaborator

请说清楚是在哪里导出的sql文件?

@MisKatherine
Copy link
Author

image
操作如截图:SQL查询->在线查询->导出数据(SQL)

@LeoQuote
Copy link
Collaborator

感谢你提供的反馈, 我们的 SQL 语句导出是通过 bootstrap-table 实现的, 目前只能提供到这样的SQL , 在这个基础上只需要修改 table 就可以正常使用.

目前没有计划将这个功能和archery深度集成, 一是bootstrap-table 并没有对应的接口提供, 二是并没有必要.

如果你有兴趣也可以看我们的代码, 非常欢迎你提出 pull request.

本issue暂时关闭, 如有进一步的开发可以重开.

@LeoQuote
Copy link
Collaborator

LeoQuote commented May 28, 2019

没看到单引号的问题, 我看一下这个问题.

@hhyo
Copy link
Owner

hhyo commented May 28, 2019

才发现你给对应项目提了issue,以前改过这个问题~

@LeoQuote
Copy link
Collaborator

@hhyo 作者回复说 “working on it”

@hhyo
Copy link
Owner

hhyo commented May 29, 2019

666

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants