This commit is contained in:
Lunny Xiao 2022-05-30 09:32:18 +08:00
parent e2f9dffe4a
commit 274bba2d0b
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ func (statement *Statement) GenExistSQL(bean ...interface{}) (string, []interfac
return "", nil, err
}
}
if _, err := fmt.Fprintf(buf, "LIMIT 1"); err != nil {
if _, err := fmt.Fprintf(buf, " LIMIT 1"); err != nil {
return "", nil, err
}
}