mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 17:50:58 +00:00
Merge pull request #3344 from akhedrane/patch-1
duo to #3278 numRow should be 0
This commit is contained in:
commit
5b8e468a13
@ -928,7 +928,7 @@ func (d *dbBase) ReadBatch(q dbQuerier, qs *querySet, mi *modelInfo, cond *Condi
|
|||||||
maps[fi.column] = true
|
maps[fi.column] = true
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return -1, fmt.Errorf("wrong field/column name `%s`", col)
|
return 0, fmt.Errorf("wrong field/column name `%s`", col)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if hasRel {
|
if hasRel {
|
||||||
|
Loading…
Reference in New Issue
Block a user