mirror of
https://github.com/astaxie/beego.git
synced 2025-07-12 21:41:01 +00:00
some change
This commit is contained in:
@ -17,6 +17,7 @@ func (o *insertSet) Insert(md Modeler) (int64, error) {
|
||||
if o.closed {
|
||||
return 0, ErrStmtClosed
|
||||
}
|
||||
md.Init(md, true)
|
||||
val := reflect.ValueOf(md)
|
||||
ind := reflect.Indirect(val)
|
||||
if val.Type() != o.mi.addrField.Type() {
|
||||
|
Reference in New Issue
Block a user