8000 在 gorm.io/driver/sqlite v1.5.6版本hasTable等个别函数或exec出现生成sql语法错误的bug · Issue #197 · go-gorm/sqlite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
在 gorm.io/driver/sqlite v1.5.6版本hasTable等个别函数或exec出现生成sql语法错误的bug #197
Open
@guanfj

Description

@guanfj

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: }

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0