This commit is contained in:
aozhiwei 2024-07-03 19:48:50 +08:00
parent 5c45b36138
commit 5d16a05656

View File

@ -299,7 +299,9 @@ func (this *dbPool) UpsertEx(
}
}
} else {
this.Insert(dataSource, tblName, insertKv, cb)
if len(insertKv) > 0 {
this.Insert(dataSource, tblName, insertKv, cb)
}
}
})
}