mirror of
https://github.com/go-gorm/gorm.git
synced 2025-02-02 20:28:40 +08:00
Reforamt
parent
5b59e42333
commit
89673322d9
@ -154,7 +154,7 @@ DB.Where("processed = ?", false).FindInBatches(&results, 100, func(tx *gorm.DB,
|
||||
}
|
||||
DB.Save(&results)
|
||||
|
||||
tx.RowsAffected // 返回本批数据的数量
|
||||
tx.RowsAffected // 返回本批数据的数量
|
||||
|
||||
batch // 第几批次
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user