- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ramble (0.19 sec)
-
tests/query_test.go
*GetUser("find_in_batches_with_error", Config{}), } DB.Create(&users) var ( results []User totalBatch int ) if result := DB.Table("wrong_table").Where("name = ?", users[0].Name).FindInBatches(&results, 2, func(tx *gorm.DB, batch int) error { totalBatch += batch return nil }); result.Error == nil || result.RowsAffected > 0 {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Apr 25 12:22:53 GMT 2024 - 49.8K bytes - Viewed (0)