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

在 gorm.io/driver/sqlite v1.5.6版本hasTable等个别函数或exec出现生成sql语法错误的bug #197

Open
guanfj opened this issue Nov 25, 2024 · 0 comments
Assignees

Comments

@guanfj
Copy link

guanfj commented Nov 25, 2024

GORM Playground Link

Description

例如hasTable函数志换后的语法为:
[0.593ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="table"

202: func (dialector Dialector) Explain(sql string, vars ...interface{}) string {
203: return logger.ExplainSQL(sql, nil, , vars...)
204: }

202: func (dialector Dialector) Explain(sql string, vars ...interface{}) string {
203: return logger.ExplainSQL(sql, nil, ', vars...)
204: }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants