1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-16 10:32:17 +00:00

Merge branch 'develop' of https://github.com/astaxie/beego into develop

 Conflicts:
	go.mod
	go.sum
This commit is contained in:
harry890829
2020-06-29 16:48:03 +08:00
60 changed files with 855 additions and 13469 deletions

View File

@@ -470,7 +470,7 @@ func (d *dbBase) InsertValue(q dbQuerier, mi *modelInfo, isMulti bool, names []s
multi := len(values) / len(names)
if isMulti {
if isMulti && multi > 1 {
qmarks = strings.Repeat(qmarks+"), (", multi-1) + qmarks
}