Skip to content

Commit

Permalink
feat: change sql escaper " to '
Browse files Browse the repository at this point in the history
  • Loading branch information
yang.yu committed Apr 6, 2023
1 parent 1c9ed86 commit 81a3164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (dialector Dialector) QuoteTo(writer clause.Writer, str string) {
}

func (dialector Dialector) Explain(sql string, vars ...interface{}) string {
return logger.ExplainSQL(sql, nil, `"`, vars...)
return logger.ExplainSQL(sql, nil, `'`, vars...)
}

func (dialector Dialector) DataTypeOf(field *schema.Field) string {
Expand Down

0 comments on commit 81a3164

Please sign in to comment.