mirror of
https://github.com/astaxie/beego.git
synced 2025-05-21 05:03:11 +00:00
duo to #3278 numRow should be 0
This commit is contained in:
parent
0e4d954fa7
commit
21a8623002
@ -928,7 +928,7 @@ func (d *dbBase) ReadBatch(q dbQuerier, qs *querySet, mi *modelInfo, cond *Condi
|
||||
maps[fi.column] = true
|
||||
}
|
||||
} else {
|
||||
return -1, fmt.Errorf("wrong field/column name `%s`", col)
|
||||
return 0, fmt.Errorf("wrong field/column name `%s`", col)
|
||||
}
|
||||
}
|
||||
if hasRel {
|
||||
|
Loading…
x
Reference in New Issue
Block a user