Your Question
sql = tx.ToSQL(func(tx *gorm.DB) *gorm.DB {
return tx.Model(&entity.InboundApplicationSkuExtend{}).CreateInBatches(&in, 1000)
})
sql return a empty string, but when use
sql = tx.ToSQL(func(tx *gorm.DB) *gorm.DB {
return tx.Model(&entity.InboundApplicationSkuExtend{}).save(&in[0])
})
it can return a right sql string, is it a bug?
The document you expected this should be explained
Expected answer
Comment From: github-actions[bot]
This issue has been automatically marked as stale because it has been open 360 days with no activity. Remove stale label or comment or this will be closed in 180 days